From: David Daney Date: Wed, 23 Dec 2009 21:18:54 +0000 (-0800) Subject: MIPS: Octeon: Add sched_clock() to csrc-octeon.c X-Git-Tag: v2.6.33-rc4~8^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6a3c851a287980e47b45bf191a3b78d9d8508e2;p=pandora-kernel.git MIPS: Octeon: Add sched_clock() to csrc-octeon.c With the advent of function graph tracing on MIPS, Octeon needs a high precision sched_clock() implementation. Without it, most timing numbers are reported as 0.000. This new sched_clock just uses the 64-bit cycle counter appropriately scaled. Signed-off-by: David Daney Patchwork: http://patchwork.linux-mips.org/patch/805/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed