projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b2a0a6
)
x86: e820 max_arch_pfn typo fix for 64 bit
author
Yinghai Lu
<yhlu.kernel@gmail.com>
Wed, 4 Jun 2008 20:21:29 +0000
(13:21 -0700)
committer
Thomas Gleixner
<tglx@linutronix.de>
Wed, 4 Jun 2008 21:15:33 +0000
(23:15 +0200)
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>
arch/x86/kernel/e820.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/e820.c
b/arch/x86/kernel/e820.c
index c140f731743b026effe451ee75eedf3c282ee152..5d33b9c08d1b972fd8575510b78f1bb2f2304109 100644
(file)
--- 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)
# 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
/*