• Helge Deller's avatar
    parisc: fix kernel BUG at arch/parisc/include/asm/mmzone.h:50 (part 2) · 91ea8207
    Helge Deller authored
    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>
    91ea8207
init.c 28.2 KB