From 3f5c2c0f90cf01ca62d094d021ae6b9d114218b5 Mon Sep 17 00:00:00 2001 From: Mian Yousaf Kaukab Date: Mon, 14 Jun 2010 15:11:40 +0200 Subject: revert part of mach-ux500: Remove broadcast from timer-rtt. FIXME: Verify that this is correct. patch Signed-off-by: Mian Yousaf Kaukab Change-Id: I46897a0ab27ad61088338435bfc392ba100f3c86 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2410 Reviewed-by: Jonas ABERG --- arch/arm/mach-ux500/timer-rtt.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'arch') diff --git a/arch/arm/mach-ux500/timer-rtt.c b/arch/arm/mach-ux500/timer-rtt.c index ddfd7447b92..337140349aa 100644 --- a/arch/arm/mach-ux500/timer-rtt.c +++ b/arch/arm/mach-ux500/timer-rtt.c @@ -103,6 +103,12 @@ static int u8500_rtc_interrupt(int irq, void *dev) return IRQ_NONE; } +/* + * Added here as asm/smp.h is removed in v2.6.34 and + * this funcitons is needed for current PM setup. + */ +void smp_timer_broadcast(const struct cpumask *mask); + static struct clock_event_device u8500_rtc = { .name = "rtc", .features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_ONESHOT, @@ -110,6 +116,7 @@ static struct clock_event_device u8500_rtc = { .rating = 500, .set_next_event = u8500_rtc_set_event, .set_mode = u8500_rtc_set_mode, + .broadcast = smp_timer_broadcast, .irq = IRQ_RTC_RTT, .cpumask = cpu_all_mask, }; -- cgit v1.2.3