x86-32: tighten the bound on additional memory to map
authorH. Peter Anvin <hpa@linux.intel.com>
Tue, 17 Mar 2009 18:38:23 +0000 (11:38 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 17 Mar 2009 18:52:10 +0000 (11:52 -0700)
commit60ac98213914cc615c67e84bfb964aa95a080d13
tree727510ef5a2084ffaaeae65c8a60dbc306b7cf2d
parentb8a22a6273d5aed248db2695ce9bf65eb3e9fbe6
x86-32: tighten the bound on additional memory to map

Impact: Tighten bound to avoid masking errors

The definition of MAPPING_BEYOND_END was excessive; this has a nasty
tendency to mask bugs.  We have learned over time that this kind of
bug hiding can cause some very strange errors.  Therefore, tighten the
bound to only need to map the actual kernel area.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Cc: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: Yinghai Lu <yinghai@kernel.org>
arch/x86/kernel/head_32.S