Эх сурвалжийг харах

oprofile, x86: Add support for AMD family 14h

This patch adds support for AMD family 14h (Ontario/Zacate) cpus.

Signed-off-by: Robert Richter <robert.richter@amd.com>
Robert Richter 15 жил өмнө
parent
commit
e63414740e

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

@@ -729,6 +729,9 @@ int __init op_nmi_init(struct oprofile_operations *ops)
 		case 0x12:
 			cpu_type = "x86-64/family12h";
 			break;
+		case 0x14:
+			cpu_type = "x86-64/family14h";
+			break;
 		default:
 			return -ENODEV;
 		}