diff options
author | Hollis Blanchard <hollisb@us.ibm.com> | 2008-11-26 10:19:26 -0600 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-12-29 09:53:14 +1100 |
commit | 6ca4f7494bde078b2b730e28e4ea1dc36a772f70 (patch) | |
tree | 431b008ef1b85983e6ecd10e61e7ce145f8f31f7 /arch/powerpc/kernel/init_task.c | |
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>
Diffstat (limited to 'arch/powerpc/kernel/init_task.c')
0 files changed, 0 insertions, 0 deletions