perf, x86: Use unlocked bitops
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Tue, 2 Mar 2010 20:16:55 +0000 (21:16 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 10 Mar 2010 12:22:29 +0000 (13:22 +0100)
commit34538ee77b39a12702e0f4c3ed9e8fa2dd5eb92c
treeaf887af1600921641c92d1ae637274bb11728b28
parentaff3d91a913c9ae0c2f56b65b27cbd00c7d27ee3
perf, x86: Use unlocked bitops

There is no concurrency on these variables, so don't use LOCK'ed ops.

As to the intel_pmu_handle_irq() status bit clean, nobody uses that so
remove it all together.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: paulus@samba.org
Cc: eranian@google.com
Cc: robert.richter@amd.com
Cc: fweisbec@gmail.com
Cc: Arnaldo Carvalho de Melo <acme@infradead.org>
LKML-Reference: <20100304140100.240023029@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/perf_event.c
arch/x86/kernel/cpu/perf_event_amd.c
arch/x86/kernel/cpu/perf_event_intel.c