From: Nicolas Pitre Date: Fri, 15 May 2009 04:42:36 +0000 (-0400) Subject: [ARM] orion: make sure sched_clock() usage of cnt32_to_63() is safe X-Git-Tag: v2.6.31-rc1~344^2~15^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a399e3fa795afa058e4485b25c498e0c5a860428;p=pandora-kernel.git [ARM] orion: make sure sched_clock() usage of cnt32_to_63() is safe With a TCLK = 200MHz, the half period of the hardware timer is roughly 10 seconds. Because cnt32_to_63() must be called at least once per half period of the base hardware counter, it is a bit risky to rely solely on scheduling to generate frequent enough calls. Let's use a kernel timer to ensure this. Signed-off-by: Nicolas Pitre --- Reading git-diff-tree failed