]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
powerpc: Force memory size to be a multiple of PAGE_SIZE
authorHollis Blanchard <hollisb@us.ibm.com>
Wed, 26 Nov 2008 16:19:26 +0000 (10:19 -0600)
committerPaul Mackerras <paulus@samba.org>
Sun, 28 Dec 2008 22:53:14 +0000 (09:53 +1100)
commit6ca4f7494bde078b2b730e28e4ea1dc36a772f70
tree431b008ef1b85983e6ecd10e61e7ce145f8f31f7
parentf8f50b1bddd49eb171398cfc543c957884dc6e35
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 <hollisb@us.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/prom.c