powerpc/mm: Make MMU_FTR_RADIX a MMU family feature
MMU feature bits are defined such that we use the lower half to present MMU family features. Remove the strict split of half and also move Radix to a mmu family feature. Radix introduce a new MMU model and strictly speaking it is a new MMU family. This also free up bits which can be used for individual features later. Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:

committed by
Michael Ellerman

parent
a28e46f109
commit
5a25b6f527
@@ -24,7 +24,7 @@ struct mmu_psize_def {
|
||||
extern struct mmu_psize_def mmu_psize_defs[MMU_PAGE_COUNT];
|
||||
|
||||
#ifdef CONFIG_PPC_RADIX_MMU
|
||||
#define radix_enabled() mmu_has_feature(MMU_FTR_RADIX)
|
||||
#define radix_enabled() mmu_has_feature(MMU_FTR_TYPE_RADIX)
|
||||
#else
|
||||
#define radix_enabled() (0)
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user