aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/sun4m_smp.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/kernel/sun4m_smp.c')
-rw-r--r--arch/sparc/kernel/sun4m_smp.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/sparc/kernel/sun4m_smp.c b/arch/sparc/kernel/sun4m_smp.c
index a14a76ac7f36..0c564ba9e709 100644
--- a/arch/sparc/kernel/sun4m_smp.c
+++ b/arch/sparc/kernel/sun4m_smp.c
@@ -71,6 +71,8 @@ void __cpuinit smp4m_callin(void)
71 local_flush_cache_all(); 71 local_flush_cache_all();
72 local_flush_tlb_all(); 72 local_flush_tlb_all();
73 73
74 notify_cpu_starting(cpuid);
75
74 /* Get our local ticker going. */ 76 /* Get our local ticker going. */
75 smp_setup_percpu_timer(); 77 smp_setup_percpu_timer();
76 78
@@ -313,6 +315,8 @@ void smp4m_cross_call_irq(void)
313 ccall_info.processors_out[i] = 1; 315 ccall_info.processors_out[i] = 1;
314} 316}
315 317
318extern void sun4m_clear_profile_irq(int cpu);
319
316void smp4m_percpu_timer_interrupt(struct pt_regs *regs) 320void smp4m_percpu_timer_interrupt(struct pt_regs *regs)
317{ 321{
318 struct pt_regs *old_regs; 322 struct pt_regs *old_regs;
@@ -320,7 +324,7 @@ void smp4m_percpu_timer_interrupt(struct pt_regs *regs)
320 324
321 old_regs = set_irq_regs(regs); 325 old_regs = set_irq_regs(regs);
322 326
323 clear_profile_irq(cpu); 327 sun4m_clear_profile_irq(cpu);
324 328
325 profile_tick(CPU_PROFILING); 329 profile_tick(CPU_PROFILING);
326 330