commit | 2e8418736dff9c6fdadb2f87dcc2087cebf32167 | [log] [tgz] |
---|---|---|
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | Mon Jan 25 15:58:43 2010 +0100 |
committer | Ingo Molnar <mingo@elte.hu> | Fri Jan 29 09:01:45 2010 +0100 |
tree | 983d0a5dad6e879d168fbeca457b104c27e0c775 | |
parent | 184f412c3341cd24fbd26604634a5800b83dbdc3 [diff] |
perf_event: x86: Deduplicate the disable code Share the meat of the x86_pmu_disable() code with hw_perf_enable(). Also remove the barrier() from that code, since I could not convince myself we actually need it. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Stephane Eranian <eranian@google.com> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <mingo@elte.hu>