From: Andi Kleen Date: Wed, 2 May 2007 17:27:06 +0000 (+0200) Subject: [PATCH] i386: Support Oprofile for AMD Family 10 CPUs X-Git-Tag: v2.6.22-rc1~1011^2~203 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=2a12652c0335ec90747d3402a82b6699ae883b58;p=linux-2.6-omap-h63xx.git [PATCH] i386: Support Oprofile for AMD Family 10 CPUs Signed-off-by: Andi Kleen --- diff --git a/arch/i386/oprofile/nmi_int.c b/arch/i386/oprofile/nmi_int.c index 8fda7be9dd4..695f737516a 100644 --- a/arch/i386/oprofile/nmi_int.c +++ b/arch/i386/oprofile/nmi_int.c @@ -414,6 +414,10 @@ int __init op_nmi_init(struct oprofile_operations *ops) user space an consistent name. */ cpu_type = "x86-64/hammer"; break; + case 0x10: + model = &op_athlon_spec; + cpu_type = "x86-64/family10"; + break; } break;