]> asedeno.scripts.mit.edu Git - linux.git/commit
powerpc/mm: Move disable_radix handling into mmu_early_init_devtree()
authorMichael Ellerman <mpe@ellerman.id.au>
Tue, 26 Jul 2016 11:29:30 +0000 (21:29 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 1 Aug 2016 01:14:53 +0000 (11:14 +1000)
commitc610ec60ed6354157ea7b0c9c9a7236126ef416b
tree69b5697e844b7dfd35bdb240a64d9d5b3bf2a29f
parent1a01dc87e09b6e60d22c417e00f470a72f00ec80
powerpc/mm: Move disable_radix handling into mmu_early_init_devtree()

Move the handling of the disable_radix command line argument into the
newly created mmu_early_init_devtree().

It's an MMU option so it's preferable to have it in an mm related file,
and it also means platforms that don't support radix don't have to carry
the code.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/prom.c
arch/powerpc/mm/init_64.c