aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/oprofile
diff options
context:
space:
mode:
authorRobert Richter <robert.richter@amd.com>2010-08-31 10:44:17 +0200
committerRobert Richter <robert.richter@amd.com>2010-10-15 12:50:39 +0200
commit3acbf0849bcbb639fde53dc627e3b55a4c6429d2 (patch)
tree9d5262934cd21745b334ac50d57c934ca6ea4152 /arch/x86/oprofile
parentcd254f295248c98b62ea824f361e10d80a081fe7 (diff)
oprofile, x86: Add support for AMD family 12h
This patch adds support for AMD family 12h (Llano) cpus. Signed-off-by: Robert Richter <robert.richter@amd.com>
Diffstat (limited to 'arch/x86/oprofile')
-rw-r--r--arch/x86/oprofile/nmi_int.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/oprofile/nmi_int.c b/arch/x86/oprofile/nmi_int.c
index bd1489c3ce0..0b0d1d62820 100644
--- a/arch/x86/oprofile/nmi_int.c
+++ b/arch/x86/oprofile/nmi_int.c
@@ -726,6 +726,9 @@ int __init op_nmi_init(struct oprofile_operations *ops)
case 0x11:
cpu_type = "x86-64/family11h";
break;
+ case 0x12:
+ cpu_type = "x86-64/family12h";
+ break;
default:
return -ENODEV;
}