summaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/asm-offsets.c
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2017-03-22 09:06:58 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2017-04-01 21:12:20 +1100
commit957b778a166e32e242a33fdab693ffb256a19cbd (patch)
treee4ffce7347a62e55ac2cd99b3efdb2e62c7cf070 /arch/powerpc/kernel/asm-offsets.c
parentf6eedbba7a26fdaee9ea8121336dc86236c136c7 (diff)
downloadlwn-957b778a166e32e242a33fdab693ffb256a19cbd.tar.gz
lwn-957b778a166e32e242a33fdab693ffb256a19cbd.zip
powerpc/mm: Add addr_limit to mm_context and use it to derive max slice index
In the followup patch, we will increase the slice array size to handle 512TB range, but will limit the max addr to 128TB. Avoid doing unnecessary computation and avoid doing slice mask related operation above address limit. Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/asm-offsets.c')
0 files changed, 0 insertions, 0 deletions