powerpc/mm: make ioremap_bot common to all
authorChristophe Leroy <christophe.leroy@c-s.fr>
Tue, 20 Aug 2019 14:07:16 +0000 (14:07 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 27 Aug 2019 03:03:34 +0000 (13:03 +1000)
commit7cd9b317b630683b0c8eb2dfcfb046003ad6b97b
tree9682ec93b724877d2c317673e84295b38dad39c3
parentedfe1a5679263827ff94eb478c6ee0d65d467adf
powerpc/mm: make ioremap_bot common to all

Drop multiple definitions of ioremap_bot and make one common to
all subarches.

Only CONFIG_PPC_BOOK3E_64 had a global static init value for
ioremap_bot. Now ioremap_bot is set in early_init_mmu_global().

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/920eebfd9f36f14c79d1755847f5bf7c83703bdd.1566309262.git.christophe.leroy@c-s.fr
arch/powerpc/include/asm/book3s/32/pgtable.h
arch/powerpc/include/asm/book3s/64/pgtable.h
arch/powerpc/include/asm/nohash/32/pgtable.h
arch/powerpc/include/asm/pgtable.h
arch/powerpc/mm/ioremap.c
arch/powerpc/mm/mmu_decl.h
arch/powerpc/mm/nohash/tlb.c
arch/powerpc/mm/pgtable_32.c
arch/powerpc/mm/pgtable_64.c