git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b54dc5
)
MIPS: Octeon: Use non-overflowing arithmetic in sched_clock
author
David Daney
<ddaney@caviumnetworks.com>
Fri, 8 Jan 2010 22:47:36 +0000
(14:47 -0800)
committer
Ralf Baechle
<ralf@linux-mips.org>
Tue, 12 Jan 2010 17:19:36 +0000
(18:19 +0100)
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>
No differences found