[2.6 patch] make arch/i386/kernel/io_apic.c:timer_irq_works() static again

From: Adrian Bunk
Date: Wed Mar 28 2007 - 08:12:34 EST


timer_irq_works() needlessly became global.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.21-rc5-mm2/arch/i386/kernel/io_apic.c.old 2007-03-28 00:04:18.000000000 +0200
+++ linux-2.6.21-rc5-mm2/arch/i386/kernel/io_apic.c 2007-03-28 00:04:28.000000000 +0200
@@ -1904,7 +1904,7 @@ __setup("no_timer_check", notimercheck);
* - if this function detects that timer IRQs are defunct, then we fall
* back to ISA timer IRQs
*/
-int __init timer_irq_works(void)
+static int __init timer_irq_works(void)
{
unsigned long t1 = jiffies;


-
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/