diff options
author | David Daney <ddaney@caviumnetworks.com> | 2010-01-08 14:47:36 -0800 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-01-12 18:19:36 +0100 |
commit | 0e8a1d8262f41d6e8c1d736a408882bbb7a5c0a6 (patch) | |
tree | b8943db01b333cbd3629555e2de92a8670f39404 /mm/mempool.c | |
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>
Diffstat (limited to 'mm/mempool.c')
0 files changed, 0 insertions, 0 deletions