]> git.karo-electronics.de Git - linux-beck.git/commit
mn10300: Switch do_timer() to xtimer_update()
authorTorben Hohn <torbenh@gmx.de>
Thu, 27 Jan 2011 15:00:12 +0000 (16:00 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 9 Feb 2011 15:17:24 +0000 (16:17 +0100)
commit22b7fcdae562b6792b3f5517e89fd7e0337180ae
tree0fc27558c04d63b4d7bea7e34e0f0b2535993d10
parent0606f422b453f76c31ab2b1bd52943ff06a2dcf2
mn10300: Switch do_timer() to xtimer_update()

Only one CPU gets the timer interrupt so mn10300_last_tsc does not
need to be protected by xtime lock. Remove xtime lovking and use
xtime_update() which does the locking itself.

Signed-off-by: Torben Hohn <torbenh@gmx.de>
Cc: David Howells <dhowells@redhat.com>
Cc: Koichi Yasutake <yasutake.koichi@jp.panasonic.com>
LKML-Reference: <20110127150011.23248.62040.stgit@localhost>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/mn10300/kernel/time.c