aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2005-11-08 10:40:10 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-11-08 10:40:10 +0000
commitdbebb4cbe02dc811e21bd3bc40a252490e46b949 (patch)
tree4d76e96bd71dd3837253fbe00f8f6d6769644015 /arch
parentf093182d313edde9b1f86dbdaf40ba4da2dbd0e7 (diff)
downloadkernel_samsung_crespo-dbebb4cbe02dc811e21bd3bc40a252490e46b949.zip
kernel_samsung_crespo-dbebb4cbe02dc811e21bd3bc40a252490e46b949.tar.gz
kernel_samsung_crespo-dbebb4cbe02dc811e21bd3bc40a252490e46b949.tar.bz2
[ARM SMP] Add missing SMP timer handling for realview
Until we have local timer support, we need to broadcast the timer interrupt to the other CPUs. Also, add the missing smp_send_timer() prototype to asm/smp.h Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-realview/core.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-realview/core.c b/arch/arm/mach-realview/core.c
index 482eb51..4ea60d8 100644
--- a/arch/arm/mach-realview/core.c
+++ b/arch/arm/mach-realview/core.c
@@ -550,6 +550,11 @@ static irqreturn_t realview_timer_interrupt(int irq, void *dev_id, struct pt_reg
timer_tick(regs);
+#ifdef CONFIG_SMP
+ smp_send_timer();
+ update_process_times(user_mode(regs));
+#endif
+
write_sequnlock(&xtime_lock);
return IRQ_HANDLED;