From bd70e522afce2f7837d081dc52f261ecf9d4d2d5 Mon Sep 17 00:00:00 2001 From: Yinghai Lu Date: Wed, 4 Jun 2008 13:21:29 -0700 Subject: [PATCH] x86: e820 max_arch_pfn typo fix for 64 bit should use right shift Signed-off-by: Yinghai Lu Cc: Andrew Morton Signed-off-by: Thomas Gleixner --- arch/x86/kernel/e820.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/e820.c b/arch/x86/kernel/e820.c index c140f73174..5d33b9c08d 100644 --- a/arch/x86/kernel/e820.c +++ b/arch/x86/kernel/e820.c @@ -771,7 +771,7 @@ u64 __init early_reserve_e820(u64 startt, u64 sizet, u64 align) # define MAX_ARCH_PFN (1ULL<<(32-PAGE_SHIFT)) # endif #else /* CONFIG_X86_32 */ -# define MAX_ARCH_PFN MAXMEM<>PAGE_SHIFT #endif /* -- 2.39.5