diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-06-04 16:21:29 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-06-04 17:15:33 -0400 |
commit | bd70e522afce2f7837d081dc52f261ecf9d4d2d5 (patch) | |
tree | b634a216a9a83f4464e889bcfac98879b03331a3 /arch/x86/kernel/e820.c | |
parent | 7b2a0a6c4866cac146dcb0433e6984eb19a81335 (diff) |
x86: e820 max_arch_pfn typo fix for 64 bit
should use right shift
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/e820.c')
-rw-r--r-- | arch/x86/kernel/e820.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/e820.c b/arch/x86/kernel/e820.c index c140f731743b..5d33b9c08d1b 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) | |||
771 | # define MAX_ARCH_PFN (1ULL<<(32-PAGE_SHIFT)) | 771 | # define MAX_ARCH_PFN (1ULL<<(32-PAGE_SHIFT)) |
772 | # endif | 772 | # endif |
773 | #else /* CONFIG_X86_32 */ | 773 | #else /* CONFIG_X86_32 */ |
774 | # define MAX_ARCH_PFN MAXMEM<<PAGE_SHIFT | 774 | # define MAX_ARCH_PFN MAXMEM>>PAGE_SHIFT |
775 | #endif | 775 | #endif |
776 | 776 | ||
777 | /* | 777 | /* |