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:
d49c428
)
x86: update mptable, fix
author
Yinghai Lu
<yhlu.kernel@gmail.com>
Mon, 9 Jun 2008 02:53:26 +0000
(19:53 -0700)
committer
Ingo Molnar
<mingo@elte.hu>
Tue, 10 Jun 2008 09:35:04 +0000
(11:35 +0200)
need to call early_reserve_e820() to preallocate mptable for 32bit
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/setup_32.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/setup_32.c
b/arch/x86/kernel/setup_32.c
index be1a99003677ab36cf4f22bd1a8253137de5eec4..4fa9f6c4542be3464747b800e3119798430ffed5 100644
(file)
--- a/
arch/x86/kernel/setup_32.c
+++ b/
arch/x86/kernel/setup_32.c
@@
-749,6
+749,8
@@
void __init setup_arch(char **cmdline_p)
*/
max_pfn = e820_end_of_ram();
+ /* preallocate 4k for mptable mpc */
+ early_reserve_e820_mpc_new();
/* update e820 for memory not covered by WB MTRRs */
mtrr_bp_init();
if (mtrr_trim_uncached_memory(max_pfn)) {