summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/cpu/perf_event.c
diff options
context:
space:
mode:
authorArve Hjønnevåg <arve@android.com>2011-02-14 21:09:51 -0800
committerFrank Li <Frank.Li@freescale.com>2012-09-26 13:23:28 +0800
commitc56e52b3453ea8d3b5e385b3cd914272cc2b6d88 (patch)
tree72477314c9bdeb9f7c69ed6069da371a2c28432f /arch/x86/kernel/cpu/perf_event.c
parent3e235453f19fbc4825d280a82ee21823dc8558be (diff)
ARM: etm: Add some missing locks and error checks
It is not safe to call etm_lock or etb_lock without holding the mutex since another thread may also have unlocked the registers. Also add some missing checks for valid etb_regs in the etm sysfs entries. Change-Id: I939f76a6ea7546a8fc0d4ddafa2fd2b6f38103bb Signed-off-by: Arve Hjønnevåg <arve@android.com>
Diffstat (limited to 'arch/x86/kernel/cpu/perf_event.c')
0 files changed, 0 insertions, 0 deletions