]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit8c6f1c6c2c81ca88fcc32dc36f6299dfdc767a2c
tree03a50ddfe2dafbdbf2ecf6297a1c4e45a7d58c75
parent4d1c7c04da8bae7ca398e693ecd699f46e403ab7
[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