aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/init_64.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/mm/init_64.c')
-rw-r--r--arch/x86/mm/init_64.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c
index b8c2c1ef7ad5..5266f3141d6c 100644
--- a/arch/x86/mm/init_64.c
+++ b/arch/x86/mm/init_64.c
@@ -47,6 +47,18 @@
47#include <asm/numa.h> 47#include <asm/numa.h>
48#include <asm/cacheflush.h> 48#include <asm/cacheflush.h>
49 49
50/*
51 * PFN of last memory page.
52 */
53unsigned long end_pfn;
54
55/*
56 * end_pfn only includes RAM, while max_pfn_mapped includes all e820 entries.
57 * The direct mapping extends to max_pfn_mapped, so that we can directly access
58 * apertures, ACPI and other tables without having to play with fixmaps.
59 */
60unsigned long max_pfn_mapped;
61
50static unsigned long dma_reserve __initdata; 62static unsigned long dma_reserve __initdata;
51 63
52DEFINE_PER_CPU(struct mmu_gather, mmu_gathers); 64DEFINE_PER_CPU(struct mmu_gather, mmu_gathers);