Skip to content
Commit 91ea8207 authored by Helge Deller's avatar Helge Deller
Browse files

parisc: fix kernel BUG at arch/parisc/include/asm/mmzone.h:50 (part 2)



Make sure that we really return -1 (instead of 0x00ff) as node id for
page frame numbers which are not physically available.

This finally fixes the kernel panic when running
cat /proc/kpageflags /proc/kpagecount.

Theoretically this patch now limits the number of physical memory ranges
to 127 instead of 254, but currently we have MAX_PHYSMEM_RANGES
hardcoded to 8 which is sufficient for all existing parisc machines.

Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent 17858ca6
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