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>
This commit is contained in:
parent
7b2a0a6c48
commit
bd70e522af
|
@ -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
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue