summary refs log tree commit diff
diff options
context:
space:
mode:
authorRobert Richter <robert.richter@amd.com>2010-08-31 10:44:38 +0200
committerRobert Richter <robert.richter@amd.com>2010-12-19 11:43:04 +0100
commit30570bced107243d5227527dd5317b22883dcf0c (patch)
tree3988147897743b7d4122b140968659ac9e1ae09c
parentb0c3844d8af6b9f3f18f31e1b0502fbefa2166be (diff)
downloadlinux-30570bced107243d5227527dd5317b22883dcf0c.tar.gz
oprofile, x86: Add support for AMD family 15h
This patch adds support for AMD family 15h (Interlagos/Valencia/
Zambezi) 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 4e8baad36d37..358c8b9c96a7 100644
--- a/arch/x86/oprofile/nmi_int.c
+++ b/arch/x86/oprofile/nmi_int.c
@@ -732,6 +732,9 @@ int __init op_nmi_init(struct oprofile_operations *ops)
 		case 0x14:
 			cpu_type = "x86-64/family14h";
 			break;
+		case 0x15:
+			cpu_type = "x86-64/family15h";
+			break;
 		default:
 			return -ENODEV;
 		}