diff options
| author | Robert Richter <robert.richter@amd.com> | 2010-08-31 04:44:17 -0400 |
|---|---|---|
| committer | Robert Richter <robert.richter@amd.com> | 2010-10-15 06:50:39 -0400 |
| commit | 3acbf0849bcbb639fde53dc627e3b55a4c6429d2 (patch) | |
| tree | 9d5262934cd21745b334ac50d57c934ca6ea4152 | |
| parent | cd254f295248c98b62ea824f361e10d80a081fe7 (diff) | |
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>
| -rw-r--r-- | arch/x86/oprofile/nmi_int.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/oprofile/nmi_int.c b/arch/x86/oprofile/nmi_int.c index bd1489c3ce09..0b0d1d628207 100644 --- a/arch/x86/oprofile/nmi_int.c +++ b/arch/x86/oprofile/nmi_int.c | |||
| @@ -726,6 +726,9 @@ int __init op_nmi_init(struct oprofile_operations *ops) | |||
| 726 | case 0x11: | 726 | case 0x11: |
| 727 | cpu_type = "x86-64/family11h"; | 727 | cpu_type = "x86-64/family11h"; |
| 728 | break; | 728 | break; |
| 729 | case 0x12: | ||
| 730 | cpu_type = "x86-64/family12h"; | ||
| 731 | break; | ||
| 729 | default: | 732 | default: |
| 730 | return -ENODEV; | 733 | return -ENODEV; |
| 731 | } | 734 | } |
