From: Robert Richter Date: Wed, 29 Apr 2009 10:47:19 +0000 (+0200) Subject: perf_counter, x86: rework counter disable functions X-Git-Tag: v2.6.31-rc1~383^2~333 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d43698918bd46c71d494555fb92195fbea1fcb6c;p=pandora-kernel.git perf_counter, x86: rework counter disable functions As for the enable function, this patch reworks the disable functions and introduces x86_pmu_disable_counter(). The internal function i/f in struct x86_pmu changed too. [ Impact: refactor and generalize code ] Signed-off-by: Robert Richter Cc: Paul Mackerras Acked-by: Peter Zijlstra LKML-Reference: <1241002046-8832-23-git-send-email-robert.richter@amd.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed