From: Robert Richter Date: Tue, 30 Mar 2010 09:28:21 +0000 (+0200) Subject: perf, x86: implement ARCH_PERFMON_EVENTSEL bit masks X-Git-Tag: v2.6.35-rc1~522^2~131 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a098f4484bc7dae23f5b62360954007b99b64600;p=pandora-kernel.git 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 Signed-off-by: Peter Zijlstra LKML-Reference: <20100330092821.GH11907@erda.amd.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed