summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorYouquan Song <youquan.song@intel.com>2011-08-02 14:01:35 +0800
committerIngo Molnar <mingo@elte.hu>2011-08-09 11:58:06 +0200
commita34668f6beb4ab01e07683276d6a24bab6c175e0 (patch)
tree9b1763b488197ae2bce49e6cb590795f77ae20c3 /arch
parentb77f0f3c1f587791aa5d9bd1b0012c9a89eb9258 (diff)
perf, x86: Add model 45 SandyBridge support
Add support to Romely-EP SandyBridge. Signed-off-by: Youquan Song <youquan.song@intel.com> Signed-off-by: Anhua Xu <anhua.xu@intel.com> Signed-off-by: Lin Ming <ming.m.lin@intel.com> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1312264895-2010-1-git-send-email-youquan.song@intel.com Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/cpu/perf_event_intel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/cpu/perf_event_intel.c b/arch/x86/kernel/cpu/perf_event_intel.c
index 45fbb8f7f549..f88af2c2a561 100644
--- a/arch/x86/kernel/cpu/perf_event_intel.c
+++ b/arch/x86/kernel/cpu/perf_event_intel.c
@@ -1590,6 +1590,7 @@ static __init int intel_pmu_init(void)
break;
case 42: /* SandyBridge */
+ case 45: /* SandyBridge, "Romely-EP" */
memcpy(hw_cache_event_ids, snb_hw_cache_event_ids,
sizeof(hw_cache_event_ids));