From: Andi Kleen Date: Thu, 21 Jan 2010 22:26:27 +0000 (+0100) Subject: oprofile/x86: add Xeon 7500 series support X-Git-Tag: firefly_0821_release~11625^2~119 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=9c66557324ea4879abe8c9dde769a0061c81e1ac;p=firefly-linux-kernel-4.4.55.git oprofile/x86: add Xeon 7500 series support commit e83e452b0692c9c13372540deb88a77d4ae2553d upstream. 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 Signed-off-by: Robert Richter Signed-off-by: Greg Kroah-Hartman --- diff --git a/arch/x86/oprofile/nmi_int.c b/arch/x86/oprofile/nmi_int.c index cb88b1a0bd5f..5a14cd578cc4 100644 --- a/arch/x86/oprofile/nmi_int.c +++ b/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";