提交 2951acba 编写于 作者: M Mike Frysinger

Blackfin: SMP: drop unused blackfin_cpudata.idle pointer

Not sure when we stopped using this field, but nothing in the tree uses
this now, so punt it.
Signed-off-by: NMike Frysinger <vapier@gentoo.org>
上级 44491fbc
......@@ -10,11 +10,8 @@
#include <linux/percpu.h>
struct task_struct;
struct blackfin_cpudata {
struct cpu cpu;
struct task_struct *idle;
unsigned int imemctl;
unsigned int dmemctl;
};
......
......@@ -165,7 +165,6 @@ void __cpuinit bfin_setup_cpudata(unsigned int cpu)
{
struct blackfin_cpudata *cpudata = &per_cpu(cpu_data, cpu);
cpudata->idle = current;
cpudata->imemctl = bfin_read_IMEM_CONTROL();
cpudata->dmemctl = bfin_read_DMEM_CONTROL();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册