Commit bd70e522 authored by Yinghai Lu's avatar Yinghai Lu Committed by Thomas Gleixner

x86: e820 max_arch_pfn typo fix for 64 bit

should use right shift
Signed-off-by: default avatarYinghai Lu <yhlu.kernel@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 7b2a0a6c
......@@ -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
# define MAX_ARCH_PFN MAXMEM>>PAGE_SHIFT
#endif
/*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment