Blackfin: SMP: drop unused blackfin_cpudata.idle pointer
authorMike Frysinger <vapier@gentoo.org>
Wed, 13 Apr 2011 23:12:39 +0000 (19:12 -0400)
committerMike Frysinger <vapier@gentoo.org>
Wed, 25 May 2011 12:13:42 +0000 (08:13 -0400)
Not sure when we stopped using this field, but nothing in the tree uses
this now, so punt it.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/include/asm/cpu.h
arch/blackfin/kernel/setup.c

index 16883e582e3cd96ce9a914242837f877e3a77f16..05043786da2199cbb302563a0c1e3e62295852c2 100644 (file)
 
 #include <linux/percpu.h>
 
-struct task_struct;
-
 struct blackfin_cpudata {
        struct cpu cpu;
-       struct task_struct *idle;
        unsigned int imemctl;
        unsigned int dmemctl;
 };
index 11eff2c3e98072a503d2e4cb1fc8e7fdab6d1220..fb4714f486fa3ce71a00488a6bb08d78d8a8d45a 100644 (file)
@@ -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();
 }