diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2013-03-21 17:32:36 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2013-03-21 17:32:36 -0700 |
commit | f564c24103f87dc740c1c293c975565ac46b12ef (patch) | |
tree | 6703d6eef9ebbdabe70c0a717fb72d936aa14a24 /arch | |
parent | c83a9d5e425d4678b05ca058fec6254f18601474 (diff) | |
download | talos-op-linux-f564c24103f87dc740c1c293c975565ac46b12ef.tar.gz talos-op-linux-f564c24103f87dc740c1c293c975565ac46b12ef.zip |
x86, microcode_intel_early: Mark apply_microcode_early() as cpuinit
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/microcode_intel_early.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/microcode_intel_early.c b/arch/x86/kernel/microcode_intel_early.c index 5992ee8086b7..d893e8ed8ac9 100644 --- a/arch/x86/kernel/microcode_intel_early.c +++ b/arch/x86/kernel/microcode_intel_early.c @@ -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]; |