[-mm patch] arch/i386/kernel/apic.c: make a function static

From: Adrian Bunk
Date: Mon Nov 13 2006 - 16:03:45 EST


This patch makes the needlessly global local_apic_timer_interrupt()
static.

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

--- linux-2.6.19-rc5-mm1/arch/i386/kernel/apic.c.old 2006-11-13 17:51:59.000000000 +0100
+++ linux-2.6.19-rc5-mm1/arch/i386/kernel/apic.c 2006-11-13 17:53:14.000000000 +0100
@@ -545,7 +545,7 @@
/*
* The guts of the apic timer interrupt
*/
-fastcall void local_apic_timer_interrupt(struct pt_regs *regs)
+static fastcall void local_apic_timer_interrupt(struct pt_regs *regs)
{
int cpu = smp_processor_id();
struct clock_event_device *evt = &per_cpu(lapic_events, cpu).evdev;

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