提交 1f8b2c9d 编写于 作者: D Dave Jones

[CPUFREQ] extra debugging in cpufreq_add_dev()

Snipped from an otherwise rejected patch by Jan Beulich <jbeulich@novell.com>
Signed-off-by: NDave Jones <davej@redhat.com>
上级 224b148e
...@@ -685,7 +685,7 @@ static int cpufreq_add_dev (struct sys_device * sys_dev) ...@@ -685,7 +685,7 @@ static int cpufreq_add_dev (struct sys_device * sys_dev)
if (!cpu_online(j)) if (!cpu_online(j))
continue; continue;
dprintk("CPU already managed, adding link\n"); dprintk("CPU %u already managed, adding link\n", j);
cpufreq_cpu_get(cpu); cpufreq_cpu_get(cpu);
cpu_sys_dev = get_cpu_sysdev(j); cpu_sys_dev = get_cpu_sysdev(j);
sysfs_create_link(&cpu_sys_dev->kobj, &policy->kobj, sysfs_create_link(&cpu_sys_dev->kobj, &policy->kobj,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册