diff options
Diffstat (limited to 'arch/x86/kernel/setup.c')
-rw-r--r-- | arch/x86/kernel/setup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c index 7a14fece9cf..efcf305210a 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c | |||
@@ -975,6 +975,8 @@ void __init setup_arch(char **cmdline_p) | |||
975 | if (boot_cpu_data.cpuid_level >= 0) { | 975 | if (boot_cpu_data.cpuid_level >= 0) { |
976 | /* A CPU has %cr4 if and only if it has CPUID */ | 976 | /* A CPU has %cr4 if and only if it has CPUID */ |
977 | mmu_cr4_features = read_cr4(); | 977 | mmu_cr4_features = read_cr4(); |
978 | if (trampoline_cr4_features) | ||
979 | *trampoline_cr4_features = mmu_cr4_features; | ||
978 | } | 980 | } |
979 | 981 | ||
980 | #ifdef CONFIG_X86_32 | 982 | #ifdef CONFIG_X86_32 |