diff options
author | David S. Miller <davem@davemloft.net> | 2008-01-09 05:09:06 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-12 21:52:15 -0800 |
commit | 000775c50a19fa899121115f57f355c7f26e4346 (patch) | |
tree | 52692a18ac958a419e8765b9e150786433c58c11 /sound | |
parent | d0c4c9d4a2e46f052178806c4004d52cd3ae040f (diff) |
[SPARC]: Make gettimeofday() monotonic again.
When we switched away from the optimized C version
things stopped being monotonic.
The problem is that if we run this with interrupts disabled, we can
see the interrupt pending because the counter reached the limit value.
When this happens the counter has bit 31 set, and the low bits start
counting again from zero.
Reported by Martin Habets.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions