]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit4a3575fd436aa98957184afd745e4ada8f1542d8
tree786585e3d89af847c126d0b4577e212288a134fe
parentf8dfd5ed149ae340451f25847b434297c20d4645
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