aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/microcode_core.c
diff options
context:
space:
mode:
authorJan Beulich <JBeulich@suse.com>2012-06-18 06:28:45 -0400
committerIngo Molnar <mingo@kernel.org>2012-06-20 08:33:47 -0400
commite1b6fc55da40bc17e20795901cb786e3619f9be9 (patch)
tree0cce46dec1bb8763eba79ed6d961c750bae33eae /arch/x86/kernel/microcode_core.c
parent0718467c859f5571dc48d294596f841096f6a47a (diff)
x86/microcode: Mark microcode_id[] as __initconst
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>
Diffstat (limited to 'arch/x86/kernel/microcode_core.c')
-rw-r--r--arch/x86/kernel/microcode_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/microcode_core.c b/arch/x86/kernel/microcode_core.c
index fbdfc6917180..c383b3f8f397 100644
--- 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 = {
504 504
505#ifdef MODULE 505#ifdef MODULE
506/* Autoload on Intel and AMD systems */ 506/* Autoload on Intel and AMD systems */
507static const struct x86_cpu_id microcode_id[] = { 507static const struct x86_cpu_id __initconst microcode_id[] = {
508#ifdef CONFIG_MICROCODE_INTEL 508#ifdef CONFIG_MICROCODE_INTEL
509 { X86_VENDOR_INTEL, X86_FAMILY_ANY, X86_MODEL_ANY, }, 509 { X86_VENDOR_INTEL, X86_FAMILY_ANY, X86_MODEL_ANY, },
510#endif 510#endif