[CPUFREQ] extra debugging in cpufreq_add_dev()
authorDave Jones <davej@redhat.com>
Wed, 29 Mar 2006 06:40:04 +0000 (01:40 -0500)
committerDave Jones <davej@redhat.com>
Wed, 29 Mar 2006 06:40:04 +0000 (01:40 -0500)
Snipped from an otherwise rejected patch by Jan Beulich <jbeulich@novell.com>
Signed-off-by: Dave Jones <davej@redhat.com>
drivers/cpufreq/cpufreq.c

index 9b6ae7dc8b8a3a736666568fad41c3b8b567210d..f2179ab65c42893c617fc9aca901dd724e7e1fad 100644 (file)
@@ -685,7 +685,7 @@ static int cpufreq_add_dev (struct sys_device * sys_dev)
                if (!cpu_online(j))
                        continue;
 
-               dprintk("CPU already managed, adding link\n");
+               dprintk("CPU %u already managed, adding link\n", j);
                cpufreq_cpu_get(cpu);
                cpu_sys_dev = get_cpu_sysdev(j);
                sysfs_create_link(&cpu_sys_dev->kobj, &policy->kobj,