Skip to content

Commit

Permalink
[PATCH] x86_64: mark two routines as __cpuinit
Browse files Browse the repository at this point in the history
SIgned-off-by: Shaohua Li<shaohua.li@intel.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Shaohua Li authored and Linus Torvalds committed Feb 5, 2006
1 parent 9391a3f commit 396bd50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/x86_64/kernel/apic.c
Original file line number Diff line number Diff line change
Expand Up @@ -937,7 +937,7 @@ void smp_apic_timer_interrupt(struct pt_regs *regs)
* multi-chassis. Use available data to take a good guess.
* If in doubt, go HPET.
*/
__init int oem_force_hpet_timer(void)
__cpuinit int oem_force_hpet_timer(void)
{
int i, clusters, zeros;
unsigned id;
Expand Down
2 changes: 1 addition & 1 deletion arch/x86_64/kernel/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -963,7 +963,7 @@ void __init time_init(void)
* Make an educated guess if the TSC is trustworthy and synchronized
* over all CPUs.
*/
__init int unsynchronized_tsc(void)
__cpuinit int unsynchronized_tsc(void)
{
#ifdef CONFIG_SMP
if (oem_force_hpet_timer())
Expand Down

0 comments on commit 396bd50

Please sign in to comment.