[PATCH] fix io_apic_bug_finalize() prototype

Christoph Hellwig (hch@sgi.com)
Thu, 28 Nov 2002 17:13:51 -0500


*_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);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/