summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Richter <robert.richter@amd.com>2010-08-26 12:30:17 +0200
committerRobert Richter <robert.richter@amd.com>2010-10-15 12:50:39 +0200
commite63414740e15b4e2dc54c63fb9ea501b257fb0b5 (patch)
tree8e1428075fcc04ef948ad8e40919da44927ce33c
parent3acbf0849bcbb639fde53dc627e3b55a4c6429d2 (diff)
downloadop-kernel-dev-e63414740e15b4e2dc54c63fb9ea501b257fb0b5.zip
op-kernel-dev-e63414740e15b4e2dc54c63fb9ea501b257fb0b5.tar.gz
oprofile, x86: Add support for AMD family 14h
This patch adds support for AMD family 14h (Ontario/Zacate) cpus. Signed-off-by: Robert Richter <robert.richter@amd.com>
-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 0b0d1d6..4e8baad 100644
--- a/arch/x86/oprofile/nmi_int.c
+++ b/arch/x86/oprofile/nmi_int.c
@@ -729,6 +729,9 @@ int __init op_nmi_init(struct oprofile_operations *ops)
case 0x12:
cpu_type = "x86-64/family12h";
break;
+ case 0x14:
+ cpu_type = "x86-64/family14h";
+ break;
default:
return -ENODEV;
}
OpenPOWER on IntegriCloud