diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-04-13 19:12:39 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-05-25 08:13:42 -0400 |
commit | 2951acba8510a37c6b56f8481906a809c5eb3b0e (patch) | |
tree | 178c574990bbec24143180bfd39f85d7a2de7d6b /arch | |
parent | 44491fbc5a228f3c2e61d842fd9fee0bfb839373 (diff) | |
download | op-kernel-dev-2951acba8510a37c6b56f8481906a809c5eb3b0e.zip op-kernel-dev-2951acba8510a37c6b56f8481906a809c5eb3b0e.tar.gz |
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: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/blackfin/include/asm/cpu.h | 3 | ||||
-rw-r--r-- | arch/blackfin/kernel/setup.c | 1 |
2 files changed, 0 insertions, 4 deletions
diff --git a/arch/blackfin/include/asm/cpu.h b/arch/blackfin/include/asm/cpu.h index 16883e5..0504378 100644 --- a/arch/blackfin/include/asm/cpu.h +++ b/arch/blackfin/include/asm/cpu.h @@ -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; }; diff --git a/arch/blackfin/kernel/setup.c b/arch/blackfin/kernel/setup.c index 11eff2c..fb4714f 100644 --- a/arch/blackfin/kernel/setup.c +++ b/arch/blackfin/kernel/setup.c @@ -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(); } |