diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2010-01-25 15:58:43 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-01-29 09:01:45 +0100 |
commit | 2e8418736dff9c6fdadb2f87dcc2087cebf32167 (patch) | |
tree | 983d0a5dad6e879d168fbeca457b104c27e0c775 /README | |
parent | 184f412c3341cd24fbd26604634a5800b83dbdc3 (diff) | |
download | linux-3.10-2e8418736dff9c6fdadb2f87dcc2087cebf32167.tar.gz linux-3.10-2e8418736dff9c6fdadb2f87dcc2087cebf32167.tar.bz2 linux-3.10-2e8418736dff9c6fdadb2f87dcc2087cebf32167.zip |
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>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions