Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3acbf084 authored by Robert Richter's avatar Robert Richter
Browse files

oprofile, x86: Add support for AMD family 12h



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

Signed-off-by: default avatarRobert Richter <robert.richter@amd.com>
parent cd254f29
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -726,6 +726,9 @@ int __init op_nmi_init(struct oprofile_operations *ops)
		case 0x11:
		case 0x11:
			cpu_type = "x86-64/family11h";
			cpu_type = "x86-64/family11h";
			break;
			break;
		case 0x12:
			cpu_type = "x86-64/family12h";
			break;
		default:
		default:
			return -ENODEV;
			return -ENODEV;
		}
		}