Skip to content

Commit 7bde2ab

Browse files
torbenh33KAGA-KOKO
authored andcommitted
m32r: Switch from do_timer() to xtime_update()
xtime_update() does proper locking. Signed-off-by: Torben Hohn <torbenh@gmx.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: johnstul@us.ibm.com Cc: Hirokazu Takata <takata@linux-m32r.org> Cc: hch@infradead.org Cc: yong.zhang0@gmail.com LKML-Reference: <20110127150001.23248.68620.stgit@localhost> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
1 parent 1aabd67 commit 7bde2ab

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎arch/m32r/kernel/time.c‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,15 +107,14 @@ u32 arch_gettimeoffset(void)
107107

108108
/*
109109
* timer_interrupt() needs to keep up the real-time clock,
110-
* as well as call the "do_timer()" routine every clocktick
110+
* as well as call the "xtime_update()" routine every clocktick
111111
*/
112112
static irqreturn_t timer_interrupt(int irq, void *dev_id)
113113
{
114114
#ifndef CONFIG_SMP
115115
profile_tick(CPU_PROFILING);
116116
#endif
117-
/* XXX FIXME. Uh, the xtime_lock should be held here, no? */
118-
do_timer(1);
117+
xtime_update(1);
119118

120119
#ifndef CONFIG_SMP
121120
update_process_times(user_mode(get_irq_regs()));

0 commit comments

Comments
 (0)