diff options
| author | Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com> | 2019-04-17 18:29:17 +0530 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-04-21 23:12:40 +1000 |
| commit | 1c946c1b7f2ba40bc9b521219ad34e5da3fc3088 (patch) | |
| tree | 17e48a3b636c8479cd97c42cc33a5770f5e788ec /arch/powerpc/kernel/setup-common.c | |
| parent | 53ed7a5947de2e19c270a0bc0c29257c6d004b0f (diff) | |
| download | linux-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
