diff options
author | Dave Jones <davej@redhat.com> | 2007-07-13 01:34:10 -0400 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2007-07-13 01:34:10 -0400 |
commit | 9a60ddbcb710ff78cd8c772681723a04e3f5aba3 (patch) | |
tree | 66b15b07e83e7214b15902ac63fa4384d5c3b8e5 /arch/i386/kernel | |
parent | 084f34939424161669467c19280dbcf637730314 (diff) |
[CPUFREQ] Fix typos in powernow-k8 printk's.
Based on a patch from Joachim which didn't apply, so I fixed
it up by hand, and also corrected the surrounding indentation
a little.
Signed-off-by: Joachim.Deguara <joachim.deguara@amd.com>
Acked-by: Mark Langsdorf <mark.langsdorf@amd.com>
Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'arch/i386/kernel')
-rw-r--r-- | arch/i386/kernel/cpu/cpufreq/powernow-k8.c | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/arch/i386/kernel/cpu/cpufreq/powernow-k8.c b/arch/i386/kernel/cpu/cpufreq/powernow-k8.c index 93192d7e2873..34ed53a06730 100644 --- a/arch/i386/kernel/cpu/cpufreq/powernow-k8.c +++ b/arch/i386/kernel/cpu/cpufreq/powernow-k8.c | |||
@@ -599,14 +599,17 @@ static void print_basics(struct powernow_k8_data *data) | |||
599 | for (j = 0; j < data->numps; j++) { | 599 | for (j = 0; j < data->numps; j++) { |
600 | if (data->powernow_table[j].frequency != CPUFREQ_ENTRY_INVALID) { | 600 | if (data->powernow_table[j].frequency != CPUFREQ_ENTRY_INVALID) { |
601 | if (cpu_family == CPU_HW_PSTATE) { | 601 | if (cpu_family == CPU_HW_PSTATE) { |
602 | printk(KERN_INFO PFX " %d : fid 0x%x gid 0x%x (%d MHz)\n", j, (data->powernow_table[j].index & 0xff00) >> 8, | 602 | printk(KERN_INFO PFX " %d : fid 0x%x did 0x%x (%d MHz)\n", |
603 | (data->powernow_table[j].index & 0xff0000) >> 16, | 603 | j, |
604 | data->powernow_table[j].frequency/1000); | 604 | (data->powernow_table[j].index & 0xff00) >> 8, |
605 | (data->powernow_table[j].index & 0xff0000) >> 16, | ||
606 | data->powernow_table[j].frequency/1000); | ||
605 | } else { | 607 | } else { |
606 | printk(KERN_INFO PFX " %d : fid 0x%x (%d MHz), vid 0x%x\n", j, | 608 | printk(KERN_INFO PFX " %d : fid 0x%x (%d MHz), vid 0x%x\n", |
607 | data->powernow_table[j].index & 0xff, | 609 | j, |
608 | data->powernow_table[j].frequency/1000, | 610 | data->powernow_table[j].index & 0xff, |
609 | data->powernow_table[j].index >> 8); | 611 | data->powernow_table[j].frequency/1000, |
612 | data->powernow_table[j].index >> 8); | ||
610 | } | 613 | } |
611 | } | 614 | } |
612 | } | 615 | } |
@@ -1086,7 +1089,7 @@ static int powernowk8_target(struct cpufreq_policy *pol, unsigned targfreq, unsi | |||
1086 | 1089 | ||
1087 | if (cpu_family == CPU_HW_PSTATE) | 1090 | if (cpu_family == CPU_HW_PSTATE) |
1088 | dprintk("targ: curr fid 0x%x, did 0x%x\n", | 1091 | dprintk("targ: curr fid 0x%x, did 0x%x\n", |
1089 | data->currfid, data->currvid); | 1092 | data->currfid, data->currdid); |
1090 | else { | 1093 | else { |
1091 | dprintk("targ: curr fid 0x%x, vid 0x%x\n", | 1094 | dprintk("targ: curr fid 0x%x, vid 0x%x\n", |
1092 | data->currfid, data->currvid); | 1095 | data->currfid, data->currvid); |