ARM: 5704/1: U300 sched_clock implementation v2
authorLinus Walleij <linus.walleij@stericsson.com>
Thu, 17 Sep 2009 12:10:50 +0000 (13:10 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 18 Sep 2009 21:09:02 +0000 (22:09 +0100)
commita2ca00ea9398265a26eabb358bba83c8b75c463d
treef361475375241dcaa7939ef493e4c23930f9f541
parent6be2a0cacc1ed6899a53172e2e9b7a3587be0bea
ARM: 5704/1: U300 sched_clock implementation v2

This adds the long debated sched_clock() override for the weak
in-kernel jiffybased sched_clock(). The implementation is more or
less identical to the one used in arch/arm/plat-omap/common.c
and at last attempt to merge this the merge was postponed at the
request of Peter Zijlstra due to pending discussions regarding
generalized clocksource-based sched_clock() implementations by
adding a flag to the clocksource. However that discussion ended
up with the generic code needing to be rewritten and Paul Mundt
see no reason not to proceed with this for the time being as it
can be easily converted once the generic code is in place.

Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-u300/timer.c