summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/mmu.h
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2016-07-26 14:55:48 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2016-08-01 04:14:56 +0300
commit9e8066f398396d26010d9c6c3c2538ff25461ef8 (patch)
treef742bb1082d57ee8c980d32f1e15e583d8a56ff3 /arch/powerpc/include/asm/mmu.h
parent2537b09c939fca26447f0ac3e688691de06eadda (diff)
downloadlinux-9e8066f398396d26010d9c6c3c2538ff25461ef8.tar.xz
powerpc/64: Do feature patching before MMU init
Up until now we needed to do the MMU init before feature patching, because part of the MMU init was scanning the device tree and setting and/or clearing some MMU feature bits. Now that we have split that MMU feature modification out into routines called from early_init_devtree() (called earlier) we can now do feature patching before calling MMU init. The advantage of this is it means the remainder of the MMU init runs with the final set of features which will apply for the rest of the life of the system. This means we don't have to special case anything called from MMU init to deal with a changing set of feature bits. 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