aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/omap-secure.c
diff options
context:
space:
mode:
authorColin Cross <[email protected]>2012-10-08 14:01:12 -0700
committerTony Lindgren <[email protected]>2012-10-08 14:01:12 -0700
commit9d7d6e363b06934221b81a859d509844c97380df (patch)
tree9b46831e4161307d6571724654f049da5b04a55a /arch/arm/mach-omap2/omap-secure.c
parent5e090ed7af10729a396a25df43d69a236e789736 (diff)
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 <[email protected]> Signed-off-by: R Sricharan <[email protected]> Cc: [email protected] Signed-off-by: Tony Lindgren <[email protected]>
Diffstat (limited to 'arch/arm/mach-omap2/omap-secure.c')
0 files changed, 0 insertions, 0 deletions