diff options
author | Robert Richter <robert.richter@amd.com> | 2008-07-22 15:08:50 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-26 05:48:02 -0400 |
commit | 6657fe4f5650ff7174d418d4bfa50c4640e81a2b (patch) | |
tree | 83433379aef1a09fe6898c68f5a16a857ece13af /arch/x86/oprofile/nmi_int.c | |
parent | dfa154289701ed315909b4e371a0381c52c8bdc9 (diff) |
x86/oprofile: renaming athlon_*() into op_amd_*()
These functions contain code for all AMD CPUs. The new names fit
better.
Signed-off-by: Robert Richter <robert.richter@amd.com>
Cc: oprofile-list <oprofile-list@lists.sourceforge.net>
Cc: Barry Kasindorf <barry.kasindorf@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/oprofile/nmi_int.c')
-rw-r--r-- | arch/x86/oprofile/nmi_int.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86/oprofile/nmi_int.c b/arch/x86/oprofile/nmi_int.c index 75e889156f23..b29819313f2b 100644 --- a/arch/x86/oprofile/nmi_int.c +++ b/arch/x86/oprofile/nmi_int.c | |||
@@ -425,21 +425,21 @@ int __init op_nmi_init(struct oprofile_operations *ops) | |||
425 | default: | 425 | default: |
426 | return -ENODEV; | 426 | return -ENODEV; |
427 | case 6: | 427 | case 6: |
428 | model = &op_athlon_spec; | 428 | model = &op_amd_spec; |
429 | cpu_type = "i386/athlon"; | 429 | cpu_type = "i386/athlon"; |
430 | break; | 430 | break; |
431 | case 0xf: | 431 | case 0xf: |
432 | model = &op_athlon_spec; | 432 | model = &op_amd_spec; |
433 | /* Actually it could be i386/hammer too, but give | 433 | /* Actually it could be i386/hammer too, but give |
434 | user space an consistent name. */ | 434 | user space an consistent name. */ |
435 | cpu_type = "x86-64/hammer"; | 435 | cpu_type = "x86-64/hammer"; |
436 | break; | 436 | break; |
437 | case 0x10: | 437 | case 0x10: |
438 | model = &op_athlon_spec; | 438 | model = &op_amd_spec; |
439 | cpu_type = "x86-64/family10"; | 439 | cpu_type = "x86-64/family10"; |
440 | break; | 440 | break; |
441 | case 0x11: | 441 | case 0x11: |
442 | model = &op_athlon_spec; | 442 | model = &op_amd_spec; |
443 | cpu_type = "x86-64/family11h"; | 443 | cpu_type = "x86-64/family11h"; |
444 | break; | 444 | break; |
445 | } | 445 | } |