X-Git-Url: https://git.codelabs.ch/?p=muen%2Flinux.git;a=blobdiff_plain;f=arch%2Fx86%2Fkernel%2Fcpu%2Fmtrr%2Fmtrr.c;h=9a19c800fe40095f1c706e4a50d5378339d429b8;hp=0c4f4fba9ec17ef99ef604f3721d4bb736f941eb;hb=0afe832e55a70f4bc5e725db400779b4f620290c;hpb=844ea8f62619ac2a5e47d13e3449ac197067b414 diff --git a/arch/x86/kernel/cpu/mtrr/mtrr.c b/arch/x86/kernel/cpu/mtrr/mtrr.c index 0c4f4fba9ec1..9a19c800fe40 100644 --- a/arch/x86/kernel/cpu/mtrr/mtrr.c +++ b/arch/x86/kernel/cpu/mtrr/mtrr.c @@ -46,6 +46,7 @@ #include #include #include +#include #include #include @@ -792,6 +793,9 @@ void mtrr_ap_init(void) if (!use_intel() || mtrr_aps_delayed_init) return; + + rcu_cpu_starting(smp_processor_id()); + /* * Ideally we should hold mtrr_mutex here to avoid mtrr entries * changed, but this routine will be called in cpu boot time,