[PATCH] arch/i386/kernel/apic.c Kill a sparse warning

From: Peter Hagervall
Date: Tue Feb 01 2005 - 11:13:25 EST


The following patch replaces a K&R-style function definition with its
ANSI counterpart.


diff -u linux-bk/arch/i386/kernel/apic.c linux/arch/i386/kernel/apic.c
--- linux-bk/arch/i386/kernel/apic.c 2005-01-29 03:14:14.000000000 +0100
+++ linux/arch/i386/kernel/apic.c 2005-01-29 03:16:35.000000000 +0100
@@ -518,8 +518,7 @@
* disable it down before re-entering the BIOS on shutdown.
* Otherwise the BIOS may get confused and not power-off.
*/
-void
-lapic_shutdown()
+void lapic_shutdown(void)
{
if (!cpu_has_apic || !enabled_via_apicbase)
return;


--
Peter Hagervall......................email: hager@xxxxxxxxx
Department of Computing Science........tel: +46(0)90 786 7018
University of Umeå, SE-901 87 Umeå.....fax: +46(0)90 786 6126
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/