Files
linux-stable-mirror/arch/mips/mm
Kyle HendryandThomas Bogendoerfer 6d5fbecd02 MIPS: mm: Add check for highmem before removing memory block
If a device has less physical memory than the highmem threshold
bootmem_init() doesn't set highstart_pfn. This results in highmem_init()
wrongly disabling the entire memory range if the cpu doesn't support
highmem. Add a check that highstart_pfn is non zero before removing the
highmem block.

Fixes: f171b55f14 ("mips: fix HIGHMEM initialization")
Signed-off-by: Kyle Hendry <kylehendrydev@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
2026-06-29 11:34:57 +02:00
..
2025-05-11 17:48:04 -07:00
2025-05-11 17:48:04 -07:00
2025-07-28 09:58:49 +02:00