Signed-off-by: Mircea Gherzan mgherzan@gmail.com --- arch/arm/kernel/smp_twd.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/arch/arm/kernel/smp_twd.c b/arch/arm/kernel/smp_twd.c index 4464b87..b93e3ad 100644 --- a/arch/arm/kernel/smp_twd.c +++ b/arch/arm/kernel/smp_twd.c @@ -216,6 +216,10 @@ static struct clk *twd_get_clock(void) return clk; }
+extern void smp_timer_broadcast(const struct cpumask *mask); + +static struct clock_event_device __percpu **twd_evt; + /* * Setup the local clock events for a CPU. */ @@ -248,7 +252,6 @@ static void __cpuinit twd_timer_setup(struct clock_event_device *clk) twd_timer_rate = clk_get_rate(twd_clk); else twd_calibrate_rate(); - extern void smp_timer_broadcast(const struct cpumask *mask);
__raw_writel(0, twd_base + TWD_TIMER_CONTROL);