diff options
author | Robert Richter <robert.richter@amd.com> | 2010-03-30 11:28:21 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-04-02 19:52:03 +0200 |
commit | a098f4484bc7dae23f5b62360954007b99b64600 (patch) | |
tree | 11d9d6c8f9008ca191cb8d093eb3c9c3c13d99d3 /arch/x86/video/fbdev.c | |
parent | 948b1bb89a44561560531394c18da4a99215f772 (diff) | |
download | talos-op-linux-a098f4484bc7dae23f5b62360954007b99b64600.tar.gz talos-op-linux-a098f4484bc7dae23f5b62360954007b99b64600.zip |
perf, x86: implement ARCH_PERFMON_EVENTSEL bit masks
ARCH_PERFMON_EVENTSEL bit masks are often used in the kernel. This
patch adds macros for the bit masks and removes local defines. The
function intel_pmu_raw_event() becomes x86_pmu_raw_event() which is
generic for x86 models and same also for p6. Duplicate code is
removed.
Signed-off-by: Robert Richter <robert.richter@amd.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <20100330092821.GH11907@erda.amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/video/fbdev.c')
0 files changed, 0 insertions, 0 deletions