浏览代码

oprofile: Add support for AMD Family 11h

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>
Barry Kasindorf 17 年之前
父节点
当前提交
12f2b2610e
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      arch/x86/oprofile/nmi_int.c

+ 4 - 0
arch/x86/oprofile/nmi_int.c

@@ -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;