aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>2010-06-14 15:11:40 +0200
committerJohn Rigby <john.rigby@linaro.org>2010-09-02 22:45:35 -0600
commit3f5c2c0f90cf01ca62d094d021ae6b9d114218b5 (patch)
tree2a935523c8dd28e1c3919ace2271b87724bbcff2 /arch
parentc219535502d6b55d3dff4c47ab83c2dc11a17011 (diff)
downloadlinux-2.6.34-ux500-3f5c2c0f90cf01ca62d094d021ae6b9d114218b5.tar.gz
revert part of mach-ux500: Remove broadcast from timer-rtt. FIXME: Verify that this is correct. patch
Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I46897a0ab27ad61088338435bfc392ba100f3c86 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2410 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-ux500/timer-rtt.c7
1 files changed, 7 insertions, 0 deletions
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,
};