]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
oprofile: Add support for AMD Family 11h
authorBarry Kasindorf <barry.kasindorf@amd.com>
Tue, 22 Jul 2008 19:08:47 +0000 (21:08 +0200)
committerIngo Molnar <mingo@elte.hu>
Sat, 26 Jul 2008 09:48:00 +0000 (11:48 +0200)
This patch add support for AMD Family 11h CPUs.

Signed-off-by: Barry Kasindorf <barry.kasindorf@amd.com>
Signed-off-by: Robert Richter <robert.richter@amd.com>
Cc: oprofile-list <oprofile-list@lists.sourceforge.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/oprofile/nmi_int.c

index 3f90289410e6fbfc81fa1b350f7d6fdce4ecd18c..33db99ab90c043bd5a1076dedc83726674c574d6 100644 (file)
@@ -436,6 +436,10 @@ int __init op_nmi_init(struct oprofile_operations *ops)
                        model = &op_athlon_spec;
                        cpu_type = "x86-64/family10";
                        break;
+               case 0x11:
+                       model = &op_athlon_spec;
+                       cpu_type = "x86-64/family11h";
+                       break;
                }
                break;