x86, efi: Ensure that the entirity of a region is mapped
authorMatthew Garrett <mjg@redhat.com>
Thu, 5 May 2011 19:19:46 +0000 (15:19 -0400)
committerH. Peter Anvin <hpa@linux.intel.com>
Mon, 9 May 2011 19:14:45 +0000 (12:14 -0700)
commit935a638241b0658b9749edd060f972575f9d4a78
tree9164331a5d442e2e4b3062c3c247a298aa2ba8d5
parent7cb00b72876ea2451eb79d468da0e8fb9134aa8a
x86, efi: Ensure that the entirity of a region is mapped

It's possible for init_memory_mapping() to fail to map the entire region
if it crosses a boundary, so ensure that we complete the mapping.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Link: http://lkml.kernel.org/r/1304623186-18261-5-git-send-email-mjg@redhat.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/platform/efi/efi_64.c