Explorar o código

oprofile, x86: Add support for AMD family 15h

This patch adds support for AMD family 15h (Interlagos/Valencia/
Zambezi) cpus.

Signed-off-by: Robert Richter <robert.richter@amd.com>
Robert Richter %!s(int64=15) %!d(string=hai) anos
pai
achega
30570bced1
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

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