From cd027ffc1cd2701a933a5e3160dd3e379f03811e Mon Sep 17 00:00:00 2001 From: Mian Yousaf Kaukab Date: Tue, 22 Jun 2010 12:42:30 +0200 Subject: fix build errors when CPU_IDLE is disabled Signed-off-by: Mian Yousaf Kaukab Change-Id: I0783810ab18563482bcf2cf122072d8f02a8eb98 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2435 Reviewed-by: Jonas ABERG --- arch/arm/mach-ux500/timer-rtt.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'arch/arm') 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, }; -- cgit v1.2.3