瀏覽代碼

oprofile/x86: add Xeon 7500 series support

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.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Robert Richter <robert.richter@amd.com>
Andi Kleen 15 年之前
父節點
當前提交
e83e452b06
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      arch/x86/oprofile/nmi_int.c

+ 1 - 0
arch/x86/oprofile/nmi_int.c

@@ -598,6 +598,7 @@ static int __init ppro_init(char **cpu_type)
 	case 15: case 23:
 		*cpu_type = "i386/core_2";
 		break;
+	case 0x2e:
 	case 26:
 		spec = &op_arch_perfmon_spec;
 		*cpu_type = "i386/core_i7";