summary refs log tree commit diff
path: root/lib/percpu-refcount.c
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2013-07-18 16:21:15 -0700
committerJohn Stultz <john.stultz@linaro.org>2013-07-30 11:24:20 -0700
commit85c3d2dd15be4d577a37ffb8bbbd019fc8e3280a (patch)
treedb6f0d5ed69e55b7509793c111dc0dc5a57d43fd /lib/percpu-refcount.c
parent87d8b9eb7eb6669aad6435a51e9862362141ba76 (diff)
downloadlinux-85c3d2dd15be4d577a37ffb8bbbd019fc8e3280a.tar.gz
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 'lib/percpu-refcount.c')
0 files changed, 0 insertions, 0 deletions