projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0718467
)
x86/microcode: Mark microcode_id[] as __initconst
author
Jan Beulich
<JBeulich@suse.com>
Mon, 18 Jun 2012 10:28:45 +0000
(11:28 +0100)
committer
Ingo Molnar
<mingo@kernel.org>
Wed, 20 Jun 2012 12:33:47 +0000
(14:33 +0200)
It's not being used for other than creating module aliases (i.e.
no loadable section has any reference to it).
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Link:
http://lkml.kernel.org/r/4FDF1EFD020000780008A65D@nat28.tlf.novell.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/microcode_core.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/microcode_core.c
b/arch/x86/kernel/microcode_core.c
index fbdfc6917180f8f5379033cc408d164573d027e5..c383b3f8f39737e37c2ae35a5ab544067d8963db 100644
(file)
--- a/
arch/x86/kernel/microcode_core.c
+++ b/
arch/x86/kernel/microcode_core.c
@@
-504,7
+504,7
@@
static struct notifier_block __refdata mc_cpu_notifier = {
#ifdef MODULE
/* Autoload on Intel and AMD systems */
-static const struct x86_cpu_id microcode_id[] = {
+static const struct x86_cpu_id
__initconst
microcode_id[] = {
#ifdef CONFIG_MICROCODE_INTEL
{ X86_VENDOR_INTEL, X86_FAMILY_ANY, X86_MODEL_ANY, },
#endif