lkml.org 
[lkml]   [2010]   [Jan]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] Add Xeon 7500 series support to oprofile
Add Xeon 7500 series support to oprofile

Straight forward: it's the same as Core i7, so just detect
the model number. No user space changes needed.

Very simple patch, so it could be still merged for .33?

Signed-off-by: Andi Kleen <ak@linux.intel.com>

---
arch/x86/oprofile/nmi_int.c | 1 +
1 file changed, 1 insertion(+)

Index: linux/arch/x86/oprofile/nmi_int.c
===================================================================
--- linux.orig/arch/x86/oprofile/nmi_int.c
+++ linux/arch/x86/oprofile/nmi_int.c
@@ -598,6 +598,7 @@ static int __init ppro_init(char **cpu_t
case 15: case 23:
*cpu_type = "i386/core_2";
break;
+ case 0x2e:
case 26:
spec = &op_arch_perfmon_spec;
*cpu_type = "i386/core_i7";

\
 
 \ /
  Last update: 2010-01-21 23:29    [W:0.103 / U:1.852 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site