linux/arch/x86/platform/efi
Tejun Heo bf61549a2d x86: Fix memblock_x86_check_reserved_size() use in efi_reserve_boot_services()
The return value of memblock_x86_check_reserved_size() doesn't
indicate whether there's an overlapping reservatoin or not.  It
indicates whether the caller needs to iterate further to discover all
reserved portions of the specified area.

efi_reserve_boot_esrvices() wants to check whether the boot services
area overlaps with other reservations but incorrectly used
membloc_x86_check_reserved_size().  Use memblock_is_region_reserved()
instead.

Signed-off-by: Tejun Heo <tj@kernel.org>
Link: http://lkml.kernel.org/r/1310457490-3356-2-git-send-email-tj@kernel.org
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
2011-07-13 16:35:52 -07:00
..
efi_32.c x86: Move efi to platform 2010-10-27 14:30:01 +02:00
efi_64.c x86, efi: Retain boot service code until after switching to virtual mode 2011-05-25 17:03:53 -07:00
efi_stub_32.S x86: Move efi to platform 2010-10-27 14:30:01 +02:00
efi_stub_64.S x86: Move efi to platform 2010-10-27 14:30:01 +02:00
efi.c x86: Fix memblock_x86_check_reserved_size() use in efi_reserve_boot_services() 2011-07-13 16:35:52 -07:00
Makefile x86: Move efi to platform 2010-10-27 14:30:01 +02:00