x86, microcode_intel_early: Mark apply_microcode_early() as cpuinit
authorH. Peter Anvin <hpa@linux.intel.com>
Fri, 22 Mar 2013 00:32:36 +0000 (17:32 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 22 Mar 2013 00:32:36 +0000 (17:32 -0700)
Add missing __cpuinit annotation to apply_microcode_early().

Reported-by: Shaun Ruffell <sruffell@digium.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Link: http://lkml.kernel.org/r/20130320170310.GA23362@digium.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/kernel/microcode_intel_early.c

index 5992ee8086b7f8a9603bc3034ec9cc32c13547ae..d893e8ed8ac96559b2175b00c3d68d71658a4105 100644 (file)
@@ -659,8 +659,8 @@ static inline void __cpuinit print_ucode(struct ucode_cpu_info *uci)
 }
 #endif
 
-static int apply_microcode_early(struct mc_saved_data *mc_saved_data,
-                                struct ucode_cpu_info *uci)
+static int __cpuinit apply_microcode_early(struct mc_saved_data *mc_saved_data,
+                                          struct ucode_cpu_info *uci)
 {
        struct microcode_intel *mc_intel;
        unsigned int val[2];