]> git.baikalelectronics.ru Git - kernel.git/commit
x86: EFI_PAGE_SHIFT fix
authorHuang, Ying <ying.huang@intel.com>
Mon, 25 Feb 2008 07:18:37 +0000 (15:18 +0800)
committerIngo Molnar <mingo@elte.hu>
Sat, 19 Apr 2008 17:19:54 +0000 (19:19 +0200)
commit913f705d1f23533bb354685ed49c6bbf118c0f13
tree786585e3d89af847c126d0b4577e212288a134fe
parentfea5461e26711290fda82392abf4a25ca20f089d
x86: EFI_PAGE_SHIFT fix

Make x86 EFI code works when EFI_PAGE_SHIFT != PAGE_SHIFT. The
memrage_efi_to_native() provided in this patch can be used on other
EFI platform such as IA64 too.

This patch has been tested on Intel x86_64 platform with EFI 64/32
firmware.

Signed-off-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/efi.c
arch/x86/kernel/efi_64.c
include/linux/efi.h