aboutsummaryrefslogtreecommitdiff
path: root/arch/i386/kernel/timers
diff options
context:
space:
mode:
authorShaohua Li <shaohua.li@intel.com>2005-06-25 14:54:48 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-25 16:24:28 -0700
commita13db56624c2a9d6c0dae0a693b25b0e58de9ea3 (patch)
treeddb2a4a3c200eba0b09fee7429bf16901e1bcfe3 /arch/i386/kernel/timers
parent1249c5138f573890eae0c01f13d627094edcd55c (diff)
[PATCH] CPU hotplug: fix hpet sectioning
With hpet enabled, cpu hotplug uses some routines marked with __init. Signed-off-by: Shaohua Li<shaohua.li@intel.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/i386/kernel/timers')
-rw-r--r--arch/i386/kernel/timers/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/kernel/timers/common.c b/arch/i386/kernel/timers/common.c
index 37353bd3180..8163fe0cf1f 100644
--- a/arch/i386/kernel/timers/common.c
+++ b/arch/i386/kernel/timers/common.c
@@ -86,7 +86,7 @@ bad_ctc:
#define CALIBRATE_CNT_HPET (5 * hpet_tick)
#define CALIBRATE_TIME_HPET (5 * KERNEL_TICK_USEC)
-unsigned long __init calibrate_tsc_hpet(unsigned long *tsc_hpet_quotient_ptr)
+unsigned long __devinit calibrate_tsc_hpet(unsigned long *tsc_hpet_quotient_ptr)
{
unsigned long tsc_startlow, tsc_starthigh;
unsigned long tsc_endlow, tsc_endhigh;