aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-07-29 03:42:17 -0400
committerIngo Molnar <mingo@elte.hu>2008-07-29 03:47:29 -0400
commit45b1e23eca1c53fa79a611a2bc8c93697ede6c97 (patch)
tree44fc5e21cd8c2433706f90b01445d8b4611f70ae
parent80cc9f1020f49c9e5b50898c102fd444de70a0a3 (diff)
x86, microcode support: fix build error
fix: arch/x86/kernel/microcode.c:412: error: static declaration of ‘microcode_init’ follows non-static declaration include/asm/microcode.h:1: error: previous declaration of ‘microcode_init’ was here arch/x86/kernel/microcode.c:454: error: static declaration of ‘microcode_exit’ follows non-static declaration include/asm/microcode.h:2: error: previous declaration of ‘microcode_exit’ was here Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r--arch/x86/kernel/microcode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/microcode.c b/arch/x86/kernel/microcode.c
index 1e42e79ca694..9a881845b35b 100644
--- a/arch/x86/kernel/microcode.c
+++ b/arch/x86/kernel/microcode.c
@@ -415,7 +415,7 @@ static struct notifier_block __refdata mc_cpu_notifier = {
415 .notifier_call = mc_cpu_callback, 415 .notifier_call = mc_cpu_callback,
416}; 416};
417 417
418static int microcode_init(void *opaque, struct module *module) 418int microcode_init(void *opaque, struct module *module)
419{ 419{
420 struct microcode_ops *ops = (struct microcode_ops *)opaque; 420 struct microcode_ops *ops = (struct microcode_ops *)opaque;
421 int error; 421 int error;
@@ -457,7 +457,7 @@ static int microcode_init(void *opaque, struct module *module)
457} 457}
458EXPORT_SYMBOL_GPL(microcode_init); 458EXPORT_SYMBOL_GPL(microcode_init);
459 459
460static void __exit microcode_exit (void) 460void __exit microcode_exit (void)
461{ 461{
462 microcode_dev_exit(); 462 microcode_dev_exit();
463 463