]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] i386: Support Oprofile for AMD Family 10 CPUs
authorAndi Kleen <ak@suse.de>
Wed, 2 May 2007 17:27:06 +0000 (19:27 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Wed, 2 May 2007 17:27:06 +0000 (19:27 +0200)
Signed-off-by: Andi Kleen <ak@suse.de>
arch/i386/oprofile/nmi_int.c

index 8fda7be9dd4dc728c81dbd9d1d0f4d41907a83ae..695f737516aec15e9ee47d52c215bb8e24deef5e 100644 (file)
@@ -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;