From: David Howells Date: Wed, 24 Sep 2008 16:48:31 +0000 (+0100) Subject: MN10300: Make sched_clock() report time since boot X-Git-Tag: v2.6.27-rc8~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08ec3c2d45bac41c782acb4e3331ac5881b2c68a;p=pandora-kernel.git MN10300: Make sched_clock() report time since boot Make sched_clock() report time since boot rather than time since last timer interrupt. Make sched_clock() expand and scale the 32-bit TSC value running at IOCLK speed (~33MHz) to a 64-bit nanosecond counter, using cnt32_to_63() acquired from the ARM arch and without using slow DIVU instructions every call. Signed-off-by: David Howells Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed