oprofile/x86: add Xeon 7500 series support
authorAndi Kleen <andi@firstfloor.org>
Thu, 21 Jan 2010 22:26:27 +0000 (23:26 +0100)
committerRobert Richter <robert.richter@amd.com>
Mon, 25 Jan 2010 14:34:53 +0000 (15:34 +0100)
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>
arch/x86/oprofile/nmi_int.c

index 76d4f566adeecfbc85e15df439fe684ce8741669..3347f696edc77d4692f7b0b0fdb774677b573cfa 100644 (file)
@@ -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";