From: Peter Zijlstra Date: Sat, 6 Mar 2010 12:47:07 +0000 (+0100) Subject: perf, x86: Fix PEBS enable/disable vs cpuc->enabled X-Git-Tag: v2.6.35-rc1~522^2~222 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4807e3d5dc7bb7057dd6ca3abb09f3da2eb8c323;p=pandora-kernel.git perf, x86: Fix PEBS 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 Cc: Arnaldo Carvalho de Melo Cc: paulus@samba.org Cc: eranian@google.com Cc: robert.richter@amd.com Cc: fweisbec@gmail.com LKML-Reference: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed