mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
x86: update mptable, fix
need to call early_reserve_e820() to preallocate mptable for 32bit Signed-off-by: Yinghai Lu <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
This commit is contained in:
parent
d49c428840
commit
6780711e98
1 changed files with 2 additions and 0 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue