commit | 0e8a1d8262f41d6e8c1d736a408882bbb7a5c0a6 | [log] [tgz] |
---|---|---|
author | David Daney <ddaney@caviumnetworks.com> | Fri Jan 08 14:47:36 2010 -0800 |
committer | Ralf Baechle <ralf@linux-mips.org> | Tue Jan 12 18:19:36 2010 +0100 |
tree | b8943db01b333cbd3629555e2de92a8670f39404 | |
parent | 9b54dc5869c3989077e456c57e51810f0a1bdbcb [diff] |
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 <ddaney@caviumnetworks.com> To: linux-mips@linux-mips.org Patchwork: http://patchwork.linux-mips.org/patch/849/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>