Skip to content

Commit

Permalink
[PATCH] CPU hotplug: fix hpet sectioning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Shaohua Li authored and Linus Torvalds committed Jun 25, 2005
1 parent 1249c51 commit a13db56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/i386/kernel/time_hpet.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ static void hpet_writel(unsigned long d, unsigned long a)
* comparator value and continue. Next tick can be caught by checking
* for a change in the comparator value. Used in apic.c.
*/
static void __init wait_hpet_tick(void)
static void __devinit wait_hpet_tick(void)
{
unsigned int start_cmp_val, end_cmp_val;

Expand Down
2 changes: 1 addition & 1 deletion arch/i386/kernel/timers/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ unsigned long calibrate_tsc(void)
#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;
Expand Down

0 comments on commit a13db56

Please sign in to comment.