Thread (13 messages) flat view 13 messages, 3 authors, 2011-01-11
DORMANTno replies

[PATCH] ARM: sched_clock: improve mult/shift accuracy with high frequency clocks

From: Russell King - ARM Linux <hidden>
Date: 2011-01-11 16:54:10

On Mon, Jan 10, 2011 at 08:53:14AM -0500, Nicolas Pitre wrote:
On Mon, 10 Jan 2011, Russell King - ARM Linux wrote:
quoted
With a 32-bit or smaller cyclecounter, as 32-bit x 32-bit can never
overflow a 64-bit destination, so if anything zero should be passed in
this case.
That's the alternative suggestion I made as well.
I've just committed a patch which makes it zero.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help