[ARM] 3940/1: don't reset PXA2xx clock counter
authorNicolas Pitre <nico@cam.org>
Mon, 20 Nov 2006 21:19:29 +0000 (22:19 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 30 Nov 2006 12:52:45 +0000 (12:52 +0000)
commit46ec0ce8ce7eab6242188ea8a596538753c53b22
tree03a50ddfe2dafbdbf2ecf6297a1c4e45a7d58c75
parentbf46878c4ef4cf04a3564f0ff2e7daae353ee2e2
[ARM] 3940/1: don't reset PXA2xx clock counter

Don't reset OSCR to zero as this prevents us from having a contiguous
time source. The value returned by sched_clock() is reset to zero in the
middle of the boot process otherwise, making CONFIG_PRINTK_TIME rather
messed up.

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