Browse Source

oprofile, x86: Add support for AMD family 12h

This patch adds support for AMD family 12h (Llano) cpus.

Signed-off-by: Robert Richter <robert.richter@amd.com>
Robert Richter 15 years ago
parent
commit
3acbf0849b
1 changed files with 3 additions and 0 deletions
  1. 3 0
      arch/x86/oprofile/nmi_int.c

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

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