aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/include
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2008-08-06 05:37:07 -0400
committerPaul Mundt <lethal@linux-sh.org>2008-09-07 21:35:03 -0400
commit8c24594deab89a484879bee270e948f0a556ed75 (patch)
tree2b0c95a4d53614e1118ea20aa7e705d983ddb23f /arch/sh/include
parent6f52707e6882eb3bc6920c3f59beb05d23d68354 (diff)
sh: generic clockevent broadcast support.
This hooks up GENERIC_CLOCKEVENTS_BROADCAST and a dummy local timer, which we call in to from the timer IPI when no other local timer is provided. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include')
-rw-r--r--arch/sh/include/asm/smp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sh/include/asm/smp.h b/arch/sh/include/asm/smp.h
index 9d22cda67c2..85b660c17eb 100644
--- a/arch/sh/include/asm/smp.h
+++ b/arch/sh/include/asm/smp.h
@@ -33,6 +33,9 @@ enum {
33void smp_message_recv(unsigned int msg); 33void smp_message_recv(unsigned int msg);
34void smp_timer_broadcast(cpumask_t mask); 34void smp_timer_broadcast(cpumask_t mask);
35 35
36void local_timer_interrupt(void);
37void local_timer_setup(unsigned int cpu);
38
36void plat_smp_setup(void); 39void plat_smp_setup(void);
37void plat_prepare_cpus(unsigned int max_cpus); 40void plat_prepare_cpus(unsigned int max_cpus);
38int plat_smp_processor_id(void); 41int plat_smp_processor_id(void);