• Aneesh Kumar K.V's avatar
    powerpc/mm/radix: Add MMU_FTR_RADIX · a8ed87c9
    Aneesh Kumar K.V authored
    We are going to add asm changes in the follow up patches. Add the
    feature bit now so that we can get it all build.
    
    mpe: When CONFIG_PPC_RADIX_MMU=n we omit MMU_FTR_RADIX from the
    MMU_FTRS_POSSIBLE mask. This allows the compiler to work out that those
    checks will always be false and so the code can be elided completely.
    
    Note we do *not* define MMU_FTR_RADIX to 0 in the RADIX_MMU=n case,
    because that doesn't work with the ASM_FTR patching. In particular an
    IF_SET section will result in a mask and value of zero, which is always
    true, meaning the section *won't* be patched, which is the opposite of
    what we want.
    Signed-off-by: default avatarAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
    Acked-by: default avatarBalbir Singh <bsingharora@gmail.com>
    Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
    a8ed87c9
mmu.h 3.79 KB