]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/x86/kernel/setup.c
x86: Store a per-cpu shadow copy of CR4
[karo-tx-linux.git] / arch / x86 / kernel / setup.c
index ab4734e5411d76daa06624afc6d1eb4325d1a128..04e6c62f1a9386535f9b1e4f5156e37ec14f402d 100644 (file)
@@ -1178,7 +1178,7 @@ void __init setup_arch(char **cmdline_p)
 
        if (boot_cpu_data.cpuid_level >= 0) {
                /* A CPU has %cr4 if and only if it has CPUID */
-               mmu_cr4_features = read_cr4();
+               mmu_cr4_features = __read_cr4();
                if (trampoline_cr4_features)
                        *trampoline_cr4_features = mmu_cr4_features;
        }