summaryrefslogtreecommitdiff
path: root/arch/i386/oprofile
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2007-05-02 21:27:06 +0400
committerAndi Kleen <andi@basil.nowhere.org>2007-05-02 21:27:06 +0400
commit2a12652c0335ec90747d3402a82b6699ae883b58 (patch)
tree9b6a29838edcc1a1975e5c09748333b0ccd1136a /arch/i386/oprofile
parentd9c93813ac17b34ee6eb7a424578acae6f90d759 (diff)
downloadlinux-2a12652c0335ec90747d3402a82b6699ae883b58.tar.xz
[PATCH] i386: Support Oprofile for AMD Family 10 CPUs
Signed-off-by: Andi Kleen <ak@suse.de>
Diffstat (limited to 'arch/i386/oprofile')
-rw-r--r--arch/i386/oprofile/nmi_int.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/i386/oprofile/nmi_int.c b/arch/i386/oprofile/nmi_int.c
index 8fda7be9dd4d..695f737516ae 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;