Skip to content
Commit 6ca4f749 authored by Hollis Blanchard's avatar Hollis Blanchard Committed by Paul Mackerras
Browse files

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: default avatarHollis Blanchard <hollisb@us.ibm.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent f8f50b1b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment