diff options
author | Helge Deller <deller@gmx.de> | 2013-06-05 22:50:01 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2013-06-18 20:20:21 +0200 |
commit | 91ea8207168793b365322be3c90a4ee9e8b03ed4 (patch) | |
tree | 8eb6ded7dbdb9a0ea93ed223f51339e49e8426ad /arch/parisc/kernel | |
parent | Merge tag 'please-pull-fixia64' of git://git.kernel.org/pub/scm/linux/kernel/... (diff) | |
download | linux-91ea8207168793b365322be3c90a4ee9e8b03ed4.tar.xz linux-91ea8207168793b365322be3c90a4ee9e8b03ed4.zip |
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: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/kernel')
0 files changed, 0 insertions, 0 deletions