[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tip-bb1dfc1cf6c51ca42f7c05029a6f06df9092a0fc@git.kernel.org>
Date: Mon, 31 Jan 2011 14:10:14 GMT
From: tip-bot for Torben Hohn <torbenh@....de>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, hpa@...or.com, mingo@...hat.com,
peterz@...radead.org, kyle@...artin.ca, torbenh@....de,
jejb@...isc-linux.org, tglx@...utronix.de, deller@....de
Subject: [tip:timers/core] parisc: Switch do_timer() to xtime_update()
Commit-ID: bb1dfc1cf6c51ca42f7c05029a6f06df9092a0fc
Gitweb: http://git.kernel.org/tip/bb1dfc1cf6c51ca42f7c05029a6f06df9092a0fc
Author: Torben Hohn <torbenh@....de>
AuthorDate: Thu, 27 Jan 2011 16:00:17 +0100
Committer: Thomas Gleixner <tglx@...utronix.de>
CommitDate: Mon, 31 Jan 2011 14:55:46 +0100
parisc: Switch do_timer() to xtime_update()
xtime_update() takes the xtime_lock itself.
Signed-off-by: Torben Hohn <torbenh@....de>
Cc: hch@...radead.org
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: johnstul@...ibm.com
Cc: Helge Deller <deller@....de>
Cc: "James E.J. Bottomley" <jejb@...isc-linux.org>
Cc: Kyle McMartin <kyle@...artin.ca>
Cc: yong.zhang0@...il.com
LKML-Reference: <20110127150017.23248.22559.stgit@...alhost>
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
---
arch/parisc/kernel/time.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/arch/parisc/kernel/time.c b/arch/parisc/kernel/time.c
index 05511cc..45b7389 100644
--- a/arch/parisc/kernel/time.c
+++ b/arch/parisc/kernel/time.c
@@ -162,11 +162,8 @@ irqreturn_t __irq_entry timer_interrupt(int irq, void *dev_id)
update_process_times(user_mode(get_irq_regs()));
}
- if (cpu == 0) {
- write_seqlock(&xtime_lock);
- do_timer(ticks_elapsed);
- write_sequnlock(&xtime_lock);
- }
+ if (cpu == 0)
+ xtime_update(ticks_elapsed);
return IRQ_HANDLED;
}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists