提交 bd70e522 编写于 作者: Y Yinghai Lu 提交者: Thomas Gleixner

x86: e820 max_arch_pfn typo fix for 64 bit

should use right shift
Signed-off-by: NYinghai Lu <yhlu.kernel@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
上级 7b2a0a6c
...@@ -771,7 +771,7 @@ u64 __init early_reserve_e820(u64 startt, u64 sizet, u64 align) ...@@ -771,7 +771,7 @@ u64 __init early_reserve_e820(u64 startt, u64 sizet, u64 align)
# define MAX_ARCH_PFN (1ULL<<(32-PAGE_SHIFT)) # define MAX_ARCH_PFN (1ULL<<(32-PAGE_SHIFT))
# endif # endif
#else /* CONFIG_X86_32 */ #else /* CONFIG_X86_32 */
# define MAX_ARCH_PFN MAXMEM<<PAGE_SHIFT # define MAX_ARCH_PFN MAXMEM>>PAGE_SHIFT
#endif #endif
/* /*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册