diff options
author | Tejun Heo <[email protected]> | 2011-07-12 09:58:05 +0200 |
---|---|---|
committer | H. Peter Anvin <[email protected]> | 2011-07-13 16:35:52 -0700 |
commit | bf61549a2d8e0326f5d6e4d1718883a7212d725f (patch) | |
tree | 38ae5c938a71e96da996b53fc49edba28b63df36 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 1e01979c8f502ac13e3cdece4f38712c5944e6e8 (diff) |
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 <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Cc: Yinghai Lu <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Signed-off-by: H. Peter Anvin <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions