]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[ARM] 3979/1: extend the SA11x0 sched_clock implementation from 32 to 63 bit period
authorNicolas Pitre <nico@cam.org>
Mon, 4 Dec 2006 19:25:47 +0000 (20:25 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 7 Dec 2006 16:06:50 +0000 (16:06 +0000)
commit2f1675c11a0a214855ff6cba23aca239eef7a5fb
treedd5b3d6dee3037023b0d3b832202433e8d87cfa2
parent838ccbc35eae5b44d47724e5f694dbec4a26d269
[ARM] 3979/1: extend the SA11x0 sched_clock implementation from 32 to 63 bit period

This provides a 63 bit clock counter guaranteed to be monotonic over a
period of 370 days instead of a clock wrap every 19.4 minutes, as long
as sched_clock() is called at least once every 9.7 minutes which
shouldn't be a problem in practice.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-sa1100/generic.c