From: Helge Deller Date: Wed, 5 Jun 2013 20:50:01 +0000 (+0000) Subject: parisc: fix kernel BUG at arch/parisc/include/asm/mmzone.h:50 (part 2) X-Git-Tag: v3.10-rc7~23^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91ea8207168793b365322be3c90a4ee9e8b03ed4;p=pandora-kernel.git 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 --- Reading git-diff-tree failed