diff options
author | Stephen Boyd <[email protected]> | 2013-07-18 16:21:15 -0700 |
---|---|---|
committer | John Stultz <[email protected]> | 2013-07-30 11:24:20 -0700 |
commit | 85c3d2dd15be4d577a37ffb8bbbd019fc8e3280a (patch) | |
tree | db6f0d5ed69e55b7509793c111dc0dc5a57d43fd /lib/string_helpers.c | |
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 <[email protected]>
Acked-by: Will Deacon <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Signed-off-by: John Stultz <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions