Explorar o código

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 %!s(int64=15) %!d(string=hai) anos
pai
achega
3acbf0849b
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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;
 		}