commit | 2df202bf7520eaffcbfb07e45dfa3cfb0aeee2c0 | [log] [tgz] |
---|---|---|
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | Sat Mar 06 13:48:54 2010 +0100 |
committer | Ingo Molnar <mingo@elte.hu> | Wed Mar 10 13:23:37 2010 +0100 |
tree | 8fdc4c3c7df7662d71d52d384b2da87b393e1432 | |
parent | 4807e3d5dc7bb7057dd6ca3abb09f3da2eb8c323 [diff] |
perf, x86: Fix LBR enable/disable vs cpuc->enabled We should never call ->enable with the pmu enabled, and we _can_ have ->disable called with the pmu enabled. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Arnaldo Carvalho de Melo <acme@infradead.org> Cc: paulus@samba.org Cc: eranian@google.com Cc: robert.richter@amd.com Cc: fweisbec@gmail.com LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <mingo@elte.hu>