diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2013-02-01 05:25:06 -0500 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2013-02-01 05:28:36 -0500 |
commit | 68d00bbebb5a48b7a9056a8c03476a71ecbc30a6 (patch) | |
tree | 95af63041b79c43be37d734da6073fc82070f769 /arch/x86/platform | |
parent | ac2cbab21f318e19bc176a7f38a120cec835220f (diff) | |
parent | 07f4207a305c834f528d08428df4531744e25678 (diff) |
Merge remote-tracking branch 'origin/x86/mm' into x86/mm2
Explicitly merging these two branches due to nontrivial conflicts and
to allow further work.
Resolved Conflicts:
arch/x86/kernel/head32.c
arch/x86/kernel/head64.c
arch/x86/mm/init_64.c
arch/x86/realmode/init.c
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/platform')
-rw-r--r-- | arch/x86/platform/efi/efi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/platform/efi/efi.c b/arch/x86/platform/efi/efi.c index 36e53f0a9ce3..1743c1c92411 100644 --- a/arch/x86/platform/efi/efi.c +++ b/arch/x86/platform/efi/efi.c | |||
@@ -410,8 +410,8 @@ void __init efi_reserve_boot_services(void) | |||
410 | * - Not within any part of the kernel | 410 | * - Not within any part of the kernel |
411 | * - Not the bios reserved area | 411 | * - Not the bios reserved area |
412 | */ | 412 | */ |
413 | if ((start+size >= virt_to_phys(_text) | 413 | if ((start+size >= __pa_symbol(_text) |
414 | && start <= virt_to_phys(_end)) || | 414 | && start <= __pa_symbol(_end)) || |
415 | !e820_all_mapped(start, start+size, E820_RAM) || | 415 | !e820_all_mapped(start, start+size, E820_RAM) || |
416 | memblock_is_region_reserved(start, size)) { | 416 | memblock_is_region_reserved(start, size)) { |
417 | /* Could not reserve, skip it */ | 417 | /* Could not reserve, skip it */ |