From: Robert Richter Date: Wed, 20 Jun 2012 18:46:34 +0000 (+0200) Subject: perf/x86: Move Intel specific code to intel_pmu_init() X-Git-Tag: v3.6-rc1~167^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1eac7ac903ea9afbd4f133659710a0588c8eca5;p=pandora-kernel.git perf/x86: Move Intel specific code to intel_pmu_init() There is some Intel specific code in the generic x86 path. Move it to intel_pmu_init(). Since p4 and p6 pmus don't have fixed counters we may skip the check in case such a pmu is detected. Signed-off-by: Robert Richter Signed-off-by: Peter Zijlstra Link: http://lkml.kernel.org/r/1340217996-2254-3-git-send-email-robert.richter@amd.com Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed