From: Yinghai Lu Date: Wed, 4 Jun 2008 20:21:29 +0000 (-0700) Subject: x86: e820 max_arch_pfn typo fix for 64 bit X-Git-Tag: v2.6.27-rc1~1106^2~247^2~45 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd70e522afce2f7837d081dc52f261ecf9d4d2d5;p=linux-2.6 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 --- 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 /*