summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndries E. Brouwer <andries.brouwer@cwi.nl>2005-02-25 18:03:27 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-02-25 18:03:27 -0800
commita9fda9c402934292ee143edfbd26a8e46594a8a3 (patch)
tree14f2570223c13532c334ba05cb991d3d0f9507ce
parent0db138c0a8da052be3a0e7ce91fd6878c024e0aa (diff)
[PATCH] more apic.c
setup_APIC_timer is only called in __init context and uses __initdata
-rw-r--r--arch/i386/kernel/apic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/kernel/apic.c b/arch/i386/kernel/apic.c
index dea3e9a8a447..7f98d17a41ba 100644
--- a/arch/i386/kernel/apic.c
+++ b/arch/i386/kernel/apic.c
@@ -930,7 +930,7 @@ void __setup_APIC_LVTT(unsigned int clocks)
apic_write_around(APIC_TMICT, clocks/APIC_DIVISOR);
}
-static void setup_APIC_timer(unsigned int clocks)
+static void __init setup_APIC_timer(unsigned int clocks)
{
unsigned long flags;