perf/x86: Move Intel specific code to intel_pmu_init()
authorRobert Richter <robert.richter@amd.com>
Wed, 20 Jun 2012 18:46:34 +0000 (20:46 +0200)
committerIngo Molnar <mingo@kernel.org>
Thu, 5 Jul 2012 19:19:40 +0000 (21:19 +0200)
commita1eac7ac903ea9afbd4f133659710a0588c8eca5
tree37e4be441c02d01815d8b9a309d466abe937a8b9
parent15c7ad51ad58cbd3b46112c1840bc7228bd354bf
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 <robert.richter@amd.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1340217996-2254-3-git-send-email-robert.richter@amd.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/perf_event.c
arch/x86/kernel/cpu/perf_event_intel.c
This page took 0.024557 seconds and 5 git commands to generate.