mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 08:19:28 +00:00
powerpc/32: always populate page tables for Abatron BDI.
When CONFIG_BDI_SWITCH is set, the page tables have to be populated allthough large TLBs are used, because the BDI switch knows nothing about those large TLBs which are handled directly in TLB miss logic. Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
parent
9e849f231c
commit
d2f15e0979
1 changed files with 4 additions and 1 deletions
|
@ -263,7 +263,10 @@ void __init mapin_ram(void)
|
|||
if (base >= top)
|
||||
continue;
|
||||
base = mmu_mapin_ram(base, top);
|
||||
__mapin_ram_chunk(base, top);
|
||||
if (IS_ENABLED(CONFIG_BDI_SWITCH))
|
||||
__mapin_ram_chunk(reg->base, top);
|
||||
else
|
||||
__mapin_ram_chunk(base, top);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue