Skip to content
Commit cf02ce74 authored by Wei Li's avatar Wei Li Committed by Thomas Bogendoerfer
Browse files

MIPS: Fix PKMAP with 32-bit MIPS huge page support

When 32-bit MIPS huge page support is enabled, we halve the number of
pointers a PTE page holds, making its last half go to waste.
Correspondingly, we should halve the number of kmap entries, as we just
initialized only a single pte table for that in pagetable_init().

Fixes: 35476311

 ("MIPS: Add partial 32-bit huge page support")
Signed-off-by: default avatarWei Li <liwei391@huawei.com>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
parent 34c522a0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment