aboutsummaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorMian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>2010-06-22 12:42:30 +0200
committerJohn Rigby <john.rigby@linaro.org>2010-09-02 22:45:39 -0600
commitcd027ffc1cd2701a933a5e3160dd3e379f03811e (patch)
treea268c79017e56f7e8d5d2408c9668f29d2c0a736 /arch/arm
parentaddb726b3b6aacea0a57e43be839ebba01454305 (diff)
downloadlinux-2.6.34-ux500-cd027ffc1cd2701a933a5e3160dd3e379f03811e.tar.gz
fix build errors when CPU_IDLE is disabled
Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I0783810ab18563482bcf2cf122072d8f02a8eb98 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2435 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-ux500/timer-rtt.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/timer-rtt.c b/arch/arm/mach-ux500/timer-rtt.c
index 4d1f485ef7b..051c5cd4681 100644
--- a/arch/arm/mach-ux500/timer-rtt.c
+++ b/arch/arm/mach-ux500/timer-rtt.c
@@ -107,7 +107,9 @@ static int u8500_rtc_interrupt(int irq, void *dev)
* Added here as asm/smp.h is removed in v2.6.34 and
* this funcitons is needed for current PM setup.
*/
+#ifdef CONFIG_GENERIC_CLOCKEVENTS_BROADCAST
void smp_timer_broadcast(const struct cpumask *mask);
+#endif
static struct clock_event_device u8500_rtc = {
.name = "rtc",
@@ -116,7 +118,9 @@ static struct clock_event_device u8500_rtc = {
.rating = 300,
.set_next_event = u8500_rtc_set_event,
.set_mode = u8500_rtc_set_mode,
+#ifdef CONFIG_GENERIC_CLOCKEVENTS_BROADCAST
.broadcast = smp_timer_broadcast,
+#endif
.irq = IRQ_RTC_RTT,
.cpumask = cpu_all_mask,
};