From: Robert Richter Date: Thu, 26 Aug 2010 10:30:17 +0000 (+0200) Subject: oprofile, x86: Add support for AMD family 14h X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e63414740e15b4e2dc54c63fb9ea501b257fb0b5;p=linux-beck.git oprofile, x86: Add support for AMD family 14h This patch adds support for AMD family 14h (Ontario/Zacate) cpus. Signed-off-by: Robert Richter --- diff --git a/arch/x86/oprofile/nmi_int.c b/arch/x86/oprofile/nmi_int.c index 0b0d1d628207..4e8baad36d37 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; }