diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2019-02-21 11:37:53 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-02-21 14:10:16 +0100 |
commit | 40058337f23f79212f92ed5ef066e90a032905b1 (patch) | |
tree | 6a0dac2960e645805cc00134cbbabfff64664c9a /arch/powerpc/include/asm/mmu.h | |
parent | powerpc/83xx: Also save/restore SPRG4-7 during suspend (diff) | |
download | linux-40058337f23f79212f92ed5ef066e90a032905b1.tar.xz linux-40058337f23f79212f92ed5ef066e90a032905b1.zip |
powerpc: simplify BDI switch
There is no reason to re-read each time the pointer at
location 0xf0 as it is fixed and known.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/mmu.h')
-rw-r--r-- | arch/powerpc/include/asm/mmu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/mmu.h b/arch/powerpc/include/asm/mmu.h index 25607604a7a5..6d22a8e78fe2 100644 --- a/arch/powerpc/include/asm/mmu.h +++ b/arch/powerpc/include/asm/mmu.h @@ -356,6 +356,8 @@ extern void early_init_mmu_secondary(void); extern void setup_initial_memory_limit(phys_addr_t first_memblock_base, phys_addr_t first_memblock_size); static inline void mmu_early_init_devtree(void) { } + +extern void *abatron_pteptrs[2]; #endif /* __ASSEMBLY__ */ #endif |