From: Stephen Boyd Date: Thu, 18 Jul 2013 23:21:15 +0000 (-0700) Subject: sched_clock: Use seqcount instead of rolling our own X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~39^2~15^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85c3d2dd15be4d577a37ffb8bbbd019fc8e3280a;p=pandora-kernel.git 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 Acked-by: Will Deacon Signed-off-by: Stephen Boyd Signed-off-by: John Stultz --- Reading git-diff-tree failed