Commit 4ab5d76b authored by Linus Torvalds's avatar Linus Torvalds Committed by Greg Kroah-Hartman

Fix initcall function type mismatch

parent 258a45d6
...@@ -1749,10 +1749,11 @@ void __init setup_IO_APIC(void) ...@@ -1749,10 +1749,11 @@ void __init setup_IO_APIC(void)
* APIC bugs then we can allow the modify fast path * 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; sis_apic_bug = 0;
return 0;
} }
late_initcall(io_apic_bug_finalize); late_initcall(io_apic_bug_finalize);
......
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