powerpc/kexec: Fix boundary case for book-e kexec memory limits
authorKumar Gala <galak@kernel.crashing.org>
Thu, 22 Jul 2010 18:30:44 +0000 (13:30 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 22 Jul 2010 18:31:14 +0000 (13:31 -0500)
commit23dcab8f8e89bb25d7e156ffec4b27542d1f737a
tree74b9a01497d6cf053c4cd87ca27ac5df3a7b9ae2
parentcd5b8f8755a89a57fc8c408d284b8b613f090345
powerpc/kexec: Fix boundary case for book-e kexec memory limits

The KEXEC_*_MEMORY_LIMITs are inclusive addresses.  We define them as
2Gs as that is what we allow mapping via TLBs.  However, this should be
2G - 1 to be inclusive, otherwise if we have >2G of memory in a system
we fail to boot properly via kexec.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/include/asm/kexec.h