From: Hollis Blanchard Date: Wed, 26 Nov 2008 16:19:26 +0000 (-0600) Subject: powerpc: Force memory size to be a multiple of PAGE_SIZE X-Git-Tag: v2.6.29-rc1~574^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ca4f7494bde078b2b730e28e4ea1dc36a772f70;p=pandora-kernel.git powerpc: Force memory size to be a multiple of PAGE_SIZE Ensure that total memory size is page-aligned, because otherwise mark_bootmem() gets upset. This error case was triggered by using 64 KiB pages in the kernel while arch/powerpc/boot/4xx.c arbitrarily reduced the amount of memory by 4096 (to work around a chip bug that affects the last 256 bytes of physical memory). Signed-off-by: Hollis Blanchard Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed