Commit-ID: f564c24103f87dc740c1c293c975565ac46b12ef Gitweb: http://git.kernel.org/tip/f564c24103f87dc740c1c293c975565ac46b12ef Author: H. Peter Anvin <h...@linux.intel.com> AuthorDate: Thu, 21 Mar 2013 17:32:36 -0700 Committer: H. Peter Anvin <h...@linux.intel.com> CommitDate: Thu, 21 Mar 2013 17:32:36 -0700
x86, microcode_intel_early: Mark apply_microcode_early() as cpuinit Add missing __cpuinit annotation to apply_microcode_early(). Reported-by: Shaun Ruffell <sruff...@digium.com> Cc: Fenghua Yu <fenghua...@intel.com> Link: http://lkml.kernel.org/r/20130320170310.ga23...@digium.com Signed-off-by: H. Peter Anvin <h...@linux.intel.com> --- arch/x86/kernel/microcode_intel_early.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/microcode_intel_early.c b/arch/x86/kernel/microcode_intel_early.c index 5992ee8..d893e8e 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]; -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/