Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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


/*
/*