Commit e9e98434 authored by Peter Hagervall's avatar Peter Hagervall Committed by Linus Torvalds

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

This replaces a K&R-style function definition with its ANSI counterpart.
parent d7cf43ac
...@@ -518,8 +518,7 @@ void __init setup_local_APIC (void) ...@@ -518,8 +518,7 @@ void __init setup_local_APIC (void)
* disable it down before re-entering the BIOS on shutdown. * disable it down before re-entering the BIOS on shutdown.
* Otherwise the BIOS may get confused and not power-off. * Otherwise the BIOS may get confused and not power-off.
*/ */
void void lapic_shutdown(void)
lapic_shutdown()
{ {
if (!cpu_has_apic || !enabled_via_apicbase) if (!cpu_has_apic || !enabled_via_apicbase)
return; return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment