From: David Daney Date: Fri, 8 Jan 2010 22:47:36 +0000 (-0800) Subject: MIPS: Octeon: Use non-overflowing arithmetic in sched_clock X-Git-Tag: v2.6.33-rc4~8^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e8a1d8262f41d6e8c1d736a408882bbb7a5c0a6;p=pandora-kernel.git MIPS: Octeon: Use non-overflowing arithmetic in sched_clock With typical mult and shift values, the calculation for Octeon's sched_clock overflows when using 64-bit arithmetic. Use 128-bit calculations instead. Signed-off-by: David Daney To: linux-mips@linux-mips.org Patchwork: http://patchwork.linux-mips.org/patch/849/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed