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>
This commit is contained in:
Christophe Leroy
2019-02-21 10:37:53 +00:00
committed by Michael Ellerman
parent 36da5ff0be
commit 40058337f2
5 changed files with 9 additions and 11 deletions

View File

@@ -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