lkml.org 
[lkml]   [2012]   [Jun]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] x86/microcode: microcode_id[] can be __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>

---
arch/x86/kernel/microcode_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- 3.5-rc3/arch/x86/kernel/microcode_core.c
+++ 3.5-rc3-x86-microcode-sections/arch/x86/kernel/microcode_core.c
@@ -504,7 +504,7 @@ static struct notifier_block __refdata m

#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




\
 
 \ /
  Last update: 2012-06-18 13:01    [W:0.048 / U:1.724 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site