Skip to content

Commit bb1dfc1

Browse files
torbenh33KAGA-KOKO
authored andcommitted
parisc: Switch do_timer() to xtime_update()
xtime_update() takes the xtime_lock itself. Signed-off-by: Torben Hohn <torbenh@gmx.de> Cc: hch@infradead.org Cc: Peter Zijlstra <peterz@infradead.org> Cc: johnstul@us.ibm.com Cc: Helge Deller <deller@gmx.de> Cc: "James E.J. Bottomley" <jejb@parisc-linux.org> Cc: Kyle McMartin <kyle@mcmartin.ca> Cc: yong.zhang0@gmail.com LKML-Reference: <20110127150017.23248.22559.stgit@localhost> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
1 parent e53f276 commit bb1dfc1

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

‎arch/parisc/kernel/time.c‎

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -162,11 +162,8 @@ irqreturn_t __irq_entry timer_interrupt(int irq, void *dev_id)
162162
update_process_times(user_mode(get_irq_regs()));
163163
}
164164

165-
if (cpu == 0) {
166-
write_seqlock(&xtime_lock);
167-
do_timer(ticks_elapsed);
168-
write_sequnlock(&xtime_lock);
169-
}
165+
if (cpu == 0)
166+
xtime_update(ticks_elapsed);
170167

171168
return IRQ_HANDLED;
172169
}

0 commit comments

Comments
 (0)