diff options
author | Aneesh Kumar K.V | 2016-07-13 11:35:23 +0200 |
---|---|---|
committer | Michael Ellerman | 2016-07-17 08:42:51 +0200 |
commit | e21fc93b7020905c9f3672969ddd276aa152b9b7 (patch) | |
tree | 76cd0d0d92083d9fdc9ec76792fe654cbab68baf /arch/powerpc/include/asm/mmu.h | |
parent | powerpc/mm: use _raw variant of page table accessors (diff) | |
download | kernel-qcow2-linux-e21fc93b7020905c9f3672969ddd276aa152b9b7.tar.gz kernel-qcow2-linux-e21fc93b7020905c9f3672969ddd276aa152b9b7.tar.xz kernel-qcow2-linux-e21fc93b7020905c9f3672969ddd276aa152b9b7.zip |
powerpc/mm: Compile out radix related functions if RADIX_MMU is disabled
Currently we depend on mmu_has_feature to evalute to zero based on
MMU_FTRS_POSSIBLE mask. In a later patch, we want to update
radix_enabled() to runtime update the conditional operation to a jump
instruction. This implies we cannot depend on MMU_FTRS_POSSIBLE mask.
Instead define radix_enabled to return 0 if RADIX_MMU is not enabled.
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/include/asm/mmu.h')
0 files changed, 0 insertions, 0 deletions