oprofile, x86: Add support for AMD family 12h
authorRobert Richter <robert.richter@amd.com>
Tue, 31 Aug 2010 08:44:17 +0000 (10:44 +0200)
committerRobert Richter <robert.richter@amd.com>
Fri, 15 Oct 2010 10:50:39 +0000 (12:50 +0200)
This patch adds support for AMD family 12h (Llano) cpus.

Signed-off-by: Robert Richter <robert.richter@amd.com>
arch/x86/oprofile/nmi_int.c

index bd1489c3ce09b7416c400701f7fb407eae673615..0b0d1d628207d73b62af13127e4911862d060b52 100644 (file)
@@ -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;
                }