aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/setup.c')
-rw-r--r--arch/x86/kernel/setup.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
index d2bbe343fda7..e67b834279b2 100644
--- a/arch/x86/kernel/setup.c
+++ b/arch/x86/kernel/setup.c
@@ -1048,6 +1048,13 @@ void __init setup_arch(char **cmdline_p)
1048 if (mtrr_trim_uncached_memory(max_pfn)) 1048 if (mtrr_trim_uncached_memory(max_pfn))
1049 max_pfn = e820_end_of_ram_pfn(); 1049 max_pfn = e820_end_of_ram_pfn();
1050 1050
1051 /*
1052 * This call is required when the CPU does not support PAT. If
1053 * mtrr_bp_init() invoked it already via pat_init() the call has no
1054 * effect.
1055 */
1056 init_cache_modes();
1057
1051#ifdef CONFIG_X86_32 1058#ifdef CONFIG_X86_32
1052 /* max_low_pfn get updated here */ 1059 /* max_low_pfn get updated here */
1053 find_low_pfn_range(); 1060 find_low_pfn_range();