diff options
author | Colin Cross <ccross@android.com> | 2012-10-08 23:01:12 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-10-08 23:01:12 +0200 |
commit | 9d7d6e363b06934221b81a859d509844c97380df (patch) | |
tree | 9b46831e4161307d6571724654f049da5b04a55a /init | |
parent | Merge tag 'soc-late' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm... (diff) | |
download | linux-9d7d6e363b06934221b81a859d509844c97380df.tar.xz linux-9d7d6e363b06934221b81a859d509844c97380df.zip |
ARM: OMAP: counter: add locking to read_persistent_clock
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>
Cc: stable@vger.kernel.org
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions