From: Peter Zijlstra Date: Sat, 6 Mar 2010 18:49:06 +0000 (+0100) Subject: perf, x86: Fix silly bug in intel_pmu_pebs_{enable,disable} X-Git-Tag: v2.6.35-rc1~522^2~218 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad0e6cfe2a2a61d7b5530188e571d508146cb43b;p=pandora-kernel.git perf, x86: Fix silly bug in intel_pmu_pebs_{enable,disable} We need to use the actual cpuc->pebs_enabled value, not a local copy for the changes to take effect. 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