projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c83a9d5
)
x86, microcode_intel_early: Mark apply_microcode_early() as cpuinit
author
H. Peter Anvin
<hpa@linux.intel.com>
Fri, 22 Mar 2013 00:32:36 +0000
(17:32 -0700)
committer
H. 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
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/microcode_intel_early.c
b/arch/x86/kernel/microcode_intel_early.c
index
5992ee8
..
d893e8e
100644
(file)
--- 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];