summaryrefslogtreecommitdiff
path: root/arch/openrisc
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2016-05-11 15:30:47 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2016-05-11 21:46:02 +1000
commit773edeadf672546cd554e0797fc02a9e6edf01ae (patch)
tree86b5af2f3b9d2b42c89803e8301679f6c05b4feb /arch/openrisc
parent1a472c9dba6b9646fd36717968f6a531b4441c7d (diff)
downloadlwn-773edeadf672546cd554e0797fc02a9e6edf01ae.tar.gz
lwn-773edeadf672546cd554e0797fc02a9e6edf01ae.zip
powerpc/mm: Add mask of possible MMU features
Follow the example of the cpu feature code, and add a mask of possible MMU features, MMU_FTRS_POSSIBLE. This is used in mmu_has_feature(), which allows the possible mask to act as a shortcut for any features that are not possible, but still allows the feature bit itself to be defined. We will use this in the next commit to allow MMU_FTR_RADIX checks to be elided when MMU_FTR_RADIX is not possible. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/openrisc')
0 files changed, 0 insertions, 0 deletions