aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/kernel/e820.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/kernel/e820.c b/arch/x86/kernel/e820.c
index 66fd5bd78318..9836a079cfd9 100644
--- a/arch/x86/kernel/e820.c
+++ b/arch/x86/kernel/e820.c
@@ -1066,10 +1066,8 @@ unsigned long __init e820_end(void)
1066 struct e820entry *ei = &e820.map[i]; 1066 struct e820entry *ei = &e820.map[i];
1067 unsigned long end_pfn; 1067 unsigned long end_pfn;
1068 1068
1069#ifdef CONFIG_X86_32
1070 if (ei->type != E820_RAM) 1069 if (ei->type != E820_RAM)
1071 continue; 1070 continue;
1072#endif
1073 1071
1074 end_pfn = (ei->addr + ei->size) >> PAGE_SHIFT; 1072 end_pfn = (ei->addr + ei->size) >> PAGE_SHIFT;
1075 if (end_pfn > last_pfn) 1073 if (end_pfn > last_pfn)