diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2009-11-20 22:19:52 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-11-21 14:11:39 +0100 |
commit | 3dbebf15c5d3e265f751eec72c1538a00da4be27 (patch) | |
tree | 66aa74aee095f2031b7c79a3762e22ca2a765174 /kernel/semaphore.c | |
parent | f6f83785222b0ee037f7be90731f62a649292b5e (diff) | |
download | linux-3dbebf15c5d3e265f751eec72c1538a00da4be27.tar.gz linux-3dbebf15c5d3e265f751eec72c1538a00da4be27.tar.bz2 linux-3dbebf15c5d3e265f751eec72c1538a00da4be27.zip |
perf: Simplify __perf_event_sync_stat
Removes constraints from __perf_event_read() by leaving it with
a single callsite; this callsite had ctx->lock held, the other
one does not.
Removes some superfluous code from __perf_event_sync_stat().
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <20091120212508.918544317@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/semaphore.c')
0 files changed, 0 insertions, 0 deletions