diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2019-08-20 17:07:16 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-08-27 06:03:34 +0300 |
commit | 7cd9b317b630683b0c8eb2dfcfb046003ad6b97b (patch) | |
tree | 9682ec93b724877d2c317673e84295b38dad39c3 /arch/powerpc/mm/ioremap.c | |
parent | edfe1a5679263827ff94eb478c6ee0d65d467adf (diff) | |
download | linux-7cd9b317b630683b0c8eb2dfcfb046003ad6b97b.tar.xz |
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
Diffstat (limited to 'arch/powerpc/mm/ioremap.c')
-rw-r--r-- | arch/powerpc/mm/ioremap.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/mm/ioremap.c b/arch/powerpc/mm/ioremap.c index 3d388aaa3ee6..eaf5f8a4a63f 100644 --- a/arch/powerpc/mm/ioremap.c +++ b/arch/powerpc/mm/ioremap.c @@ -3,6 +3,9 @@ #include <linux/io.h> #include <asm/io-workarounds.h> +unsigned long ioremap_bot; +EXPORT_SYMBOL(ioremap_bot); + void __iomem *ioremap(phys_addr_t addr, unsigned long size) { pgprot_t prot = pgprot_noncached(PAGE_KERNEL); |