commit | 6ca4f7494bde078b2b730e28e4ea1dc36a772f70 | [log] [tgz] |
---|---|---|
author | Hollis Blanchard <hollisb@us.ibm.com> | Wed Nov 26 10:19:26 2008 -0600 |
committer | Paul Mackerras <paulus@samba.org> | Mon Dec 29 09:53:14 2008 +1100 |
tree | 431b008ef1b85983e6ecd10e61e7ce145f8f31f7 | |
parent | f8f50b1bddd49eb171398cfc543c957884dc6e35 [diff] |
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>