All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fix io_apic_bug_finalize() prototype
@ 2002-11-28 22:13 Christoph Hellwig
  0 siblings, 0 replies; only message in thread
From: Christoph Hellwig @ 2002-11-28 22:13 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel

*_initcall() expects int callbacks


--- 1.33/arch/i386/kernel/io_apic.c	Wed Nov 20 16:20:10 2002
+++ edited/arch/i386/kernel/io_apic.c	Thu Nov 28 14:22:44 2002
@@ -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);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-11-28 14:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-28 22:13 [PATCH] fix io_apic_bug_finalize() prototype Christoph Hellwig

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.