diff options
author | Dave Jones <davej@redhat.com> | 2006-03-29 01:40:04 -0500 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2006-03-29 01:40:04 -0500 |
commit | 1f8b2c9d38c132e79e18cc726cf7a40ebdcb56d9 (patch) | |
tree | 5ffa5b3e15d3fb0369777a4ec5b1dfb09fd162c0 /drivers/cpufreq/cpufreq.c | |
parent | 224b148ef7c9a00642eb33dbdf62f2840bde974f (diff) |
[CPUFREQ] extra debugging in cpufreq_add_dev()
Snipped from an otherwise rejected patch by Jan Beulich <jbeulich@novell.com>
Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'drivers/cpufreq/cpufreq.c')
-rw-r--r-- | drivers/cpufreq/cpufreq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c index 9b6ae7dc8b8..f2179ab65c4 100644 --- a/drivers/cpufreq/cpufreq.c +++ b/drivers/cpufreq/cpufreq.c | |||
@@ -685,7 +685,7 @@ static int cpufreq_add_dev (struct sys_device * sys_dev) | |||
685 | if (!cpu_online(j)) | 685 | if (!cpu_online(j)) |
686 | continue; | 686 | continue; |
687 | 687 | ||
688 | dprintk("CPU already managed, adding link\n"); | 688 | dprintk("CPU %u already managed, adding link\n", j); |
689 | cpufreq_cpu_get(cpu); | 689 | cpufreq_cpu_get(cpu); |
690 | cpu_sys_dev = get_cpu_sysdev(j); | 690 | cpu_sys_dev = get_cpu_sysdev(j); |
691 | sysfs_create_link(&cpu_sys_dev->kobj, &policy->kobj, | 691 | sysfs_create_link(&cpu_sys_dev->kobj, &policy->kobj, |