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:

committed by
Michael Ellerman

parent
36da5ff0be
commit
40058337f2
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user