diff options
author | Colin Cross <ccross@android.com> | 2012-10-08 14:01:12 -0700 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2012-10-17 03:49:44 +0100 |
commit | eb04142b260198116be79acafc28aca04606ff51 (patch) | |
tree | b10fa01e399ac794f7c055884dc644ffdbbb40a1 /arch/alpha/lib/Makefile | |
parent | 664f857bc07bf8e327b0f1271d3490c7af4a5195 (diff) | |
download | linux-stable-eb04142b260198116be79acafc28aca04606ff51.tar.gz linux-stable-eb04142b260198116be79acafc28aca04606ff51.tar.bz2 linux-stable-eb04142b260198116be79acafc28aca04606ff51.zip |
ARM: OMAP: counter: add locking to read_persistent_clock
commit 9d7d6e363b06934221b81a859d509844c97380df upstream.
read_persistent_clock uses a global variable, use a spinlock to
ensure non-atomic updates to the variable don't overlap and cause
time to move backwards.
Signed-off-by: Colin Cross <ccross@android.com>
Signed-off-by: R Sricharan <r.sricharan@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'arch/alpha/lib/Makefile')
0 files changed, 0 insertions, 0 deletions