Skip to contentSkip to conversation

fix io_apic_bug_finalize() prototype

PATCH New Christoph Hellwig 1 participant 1 message Nov 28, 2002

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix io_apic_bug_finalize() prototype

*_initcall() expects int callbacks

arch/i386/kernel/io_apic.c +4 -2
@@ -1749,10 +1749,12 @@
  *	APIC bugs then we can allow the modify fast path
  */
  
-static void __init io_apic_bug_finalize(void)
+static int __init io_apic_bug_finalize(void)
 {
-	if(sis_apic_bug == -1)
+	if (sis_apic_bug == -1)
 		sis_apic_bug = 0;
+
+	return 0;
 }
 
 late_initcall(io_apic_bug_finalize);