diff options
author | Wei Li <liwei391@huawei.com> | 2021-06-29 17:14:20 +0300 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2021-06-30 15:41:32 +0300 |
commit | cf02ce742f09188272bcc8b0e62d789eb671fc4c (patch) | |
tree | 87a94ccc023f08824e4154b7e870dfa984c8cb28 /arch/mips/boot/compressed/Makefile | |
parent | 34c522a07ccbfb0e6476713b41a09f9f51a06c9f (diff) | |
download | linux-cf02ce742f09188272bcc8b0e62d789eb671fc4c.tar.xz |
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: 35476311e529 ("MIPS: Add partial 32-bit huge page support")
Signed-off-by: Wei Li <liwei391@huawei.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/boot/compressed/Makefile')
0 files changed, 0 insertions, 0 deletions