summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/efi.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2008-01-30 13:34:05 +0100
committerIngo Molnar <mingo@elte.hu>2008-01-30 13:34:05 +0100
commitf87519e8f4f1de9b39a40e56479a7ad2443169dd (patch)
treea7397b18ae3dadde8ec6c173ffcae3948b971c44 /include/asm-x86/efi.h
parentx86: cleanup ioremap includes (diff)
downloadlinux-f87519e8f4f1de9b39a40e56479a7ad2443169dd.tar.xz
linux-f87519e8f4f1de9b39a40e56479a7ad2443169dd.zip
x86: introduce max_pfn_mapped
64bit uses end_pfn_map and 32bit uses max_low_pfn. There are several files which have #ifdef'ed defines which map either to end_pfn_map or max_low_pfn. Replace this by a universal define and clean up all the other instances. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/efi.h')
-rw-r--r--include/asm-x86/efi.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/asm-x86/efi.h b/include/asm-x86/efi.h
index 9e08ae84795d..9c68a1f098d8 100644
--- a/include/asm-x86/efi.h
+++ b/include/asm-x86/efi.h
@@ -35,8 +35,6 @@ extern unsigned long asmlinkage efi_call_phys(void *, ...);
#define efi_ioremap(addr, size) ioremap(addr, size)
-#define end_pfn_map max_low_pfn
-
#else /* !CONFIG_X86_32 */
#define MAX_EFI_IO_PAGES 100