diff options
author | Stephen Boyd | 2013-07-18 16:21:15 -0700 |
---|---|---|
committer | John Stultz | 2013-07-30 11:24:20 -0700 |
commit | 85c3d2dd15be4d577a37ffb8bbbd019fc8e3280a (patch) | |
tree | db6f0d5ed69e55b7509793c111dc0dc5a57d43fd /drivers/lguest | |
parent | 87d8b9eb7eb6669aad6435a51e9862362141ba76 (diff) |
sched_clock: Use seqcount instead of rolling our own
We're going to increase the cyc value to 64 bits in the near
future. Doing that is going to break the custom seqcount
implementation in the sched_clock code because 64 bit numbers
aren't guaranteed to be atomic. Replace the cyc_copy with a
seqcount to avoid this problem.
Cc: Russell King <linux@arm.linux.org.uk>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'drivers/lguest')
0 files changed, 0 insertions, 0 deletions