diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-x86/efi.h | 2 | ||||
-rw-r--r-- | include/asm-x86/page.h | 2 |
2 files changed, 2 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 *, ...); | |||
35 | 35 | ||
36 | #define efi_ioremap(addr, size) ioremap(addr, size) | 36 | #define efi_ioremap(addr, size) ioremap(addr, size) |
37 | 37 | ||
38 | #define end_pfn_map max_low_pfn | ||
39 | |||
40 | #else /* !CONFIG_X86_32 */ | 38 | #else /* !CONFIG_X86_32 */ |
41 | 39 | ||
42 | #define MAX_EFI_IO_PAGES 100 | 40 | #define MAX_EFI_IO_PAGES 100 |
diff --git a/include/asm-x86/page.h b/include/asm-x86/page.h index eba88d940092..e2c79d8dcdcf 100644 --- a/include/asm-x86/page.h +++ b/include/asm-x86/page.h | |||
@@ -33,8 +33,10 @@ | |||
33 | 33 | ||
34 | #ifdef CONFIG_X86_64 | 34 | #ifdef CONFIG_X86_64 |
35 | #include <asm/page_64.h> | 35 | #include <asm/page_64.h> |
36 | #define max_pfn_mapped end_pfn_map | ||
36 | #else | 37 | #else |
37 | #include <asm/page_32.h> | 38 | #include <asm/page_32.h> |
39 | #define max_pfn_mapped max_low_pfn | ||
38 | #endif /* CONFIG_X86_64 */ | 40 | #endif /* CONFIG_X86_64 */ |
39 | 41 | ||
40 | #define PAGE_OFFSET ((unsigned long)__PAGE_OFFSET) | 42 | #define PAGE_OFFSET ((unsigned long)__PAGE_OFFSET) |