Skip to content

Commit

Permalink
x86/microcode: Mark microcode_id[] as __initconst
Browse files Browse the repository at this point in the history
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 <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
  • Loading branch information
jbeulich authored and Ingo Molnar committed Jun 20, 2012
1 parent 0718467 commit e1b6fc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/kernel/microcode_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e1b6fc5

Please sign in to comment.