summaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/setup-common.c
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>2019-04-17 18:29:17 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2019-04-21 23:12:40 +1000
commit1c946c1b7f2ba40bc9b521219ad34e5da3fc3088 (patch)
tree17e48a3b636c8479cd97c42cc33a5770f5e788ec /arch/powerpc/kernel/setup-common.c
parent53ed7a5947de2e19c270a0bc0c29257c6d004b0f (diff)
downloadlinux-1c946c1b7f2ba40bc9b521219ad34e5da3fc3088.tar.gz
linux-1c946c1b7f2ba40bc9b521219ad34e5da3fc3088.tar.bz2
linux-1c946c1b7f2ba40bc9b521219ad34e5da3fc3088.zip
powerpc/mm/hash: Simplify the region id calculation.
This reduces multiple comparisons in get_region_id to a bit shift operation. Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/setup-common.c')
0 files changed, 0 insertions, 0 deletions