aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/paca.h
diff options
context:
space:
mode:
authorChristophe Leroy <[email protected]>2018-02-22 15:27:24 +0100
committerMichael Ellerman <[email protected]>2018-03-06 09:21:23 +1100
commitdb3a528db41caaa6dfd4c64e9f5efb1c81a80467 (patch)
tree217c7aa6a24cb3d4b0900866090050aa3fdb8b0a /arch/powerpc/include/asm/paca.h
parenta3286f05bc5a5bc7fc73a9783ec89de78fcd07f8 (diff)
powerpc/mm/slice: Enhance for supporting PPC32
In preparation for the following patch which will fix an issue on the 8xx by re-using the 'slices', this patch enhances the 'slices' implementation to support 32 bits CPUs. On PPC32, the address space is limited to 4Gbytes, hence only the low slices will be used. The high slices use bitmaps. As bitmap functions are not prepared to handle bitmaps of size 0, this patch ensures that bitmap functions are called only when SLICE_NUM_HIGH is not nul. Signed-off-by: Christophe Leroy <[email protected]> Reviewed-by: Nicholas Piggin <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'arch/powerpc/include/asm/paca.h')
0 files changed, 0 insertions, 0 deletions