[PATCH v2 07/20] arm/mach-clps711x: switch do_timer() toxtime_update()

From: Torben Hohn
Date: Thu Jan 27 2011 - 09:59:37 EST


do_timer() requires holding the xtime_lock, which this
code did not do.
use the safe version xtime_update()

Cc: Russell King <linux@xxxxxxxxxxxxxxxx>
Signed-off-by: Torben Hohn <torbenh@xxxxxx>
---
arch/arm/mach-clps711x/include/mach/time.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-clps711x/include/mach/time.h b/arch/arm/mach-clps711x/include/mach/time.h
index 8fe283c..61fef91 100644
--- a/arch/arm/mach-clps711x/include/mach/time.h
+++ b/arch/arm/mach-clps711x/include/mach/time.h
@@ -30,7 +30,7 @@ p720t_timer_interrupt(int irq, void *dev_id)
{
struct pt_regs *regs = get_irq_regs();
do_leds();
- do_timer(1);
+ xtime_update(1);
#ifndef CONFIG_SMP
update_process_times(user_mode(regs));
#endif

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/