Skip to content
Commit 4792adba authored by Jon Tollefson's avatar Jon Tollefson Committed by Benjamin Herrenschmidt
Browse files

powerpc: Don't use a 16G page if beyond mem= limits



If mem= is used on the boot command line to limit memory then the memory block where a 16G page resides may not be available.

Thanks to Michael Ellerman for finding the problem.

Signed-off-by: default avatarJon Tollefson <kniht@linux.vnet.ibm.com>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent 71773f03
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment