aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/blackfin/include/asm/cpu.h3
-rw-r--r--arch/blackfin/kernel/setup.c1
2 files changed, 0 insertions, 4 deletions
diff --git a/arch/blackfin/include/asm/cpu.h b/arch/blackfin/include/asm/cpu.h
index 16883e582e3c..05043786da21 100644
--- a/arch/blackfin/include/asm/cpu.h
+++ b/arch/blackfin/include/asm/cpu.h
@@ -10,11 +10,8 @@
10 10
11#include <linux/percpu.h> 11#include <linux/percpu.h>
12 12
13struct task_struct;
14
15struct blackfin_cpudata { 13struct blackfin_cpudata {
16 struct cpu cpu; 14 struct cpu cpu;
17 struct task_struct *idle;
18 unsigned int imemctl; 15 unsigned int imemctl;
19 unsigned int dmemctl; 16 unsigned int dmemctl;
20}; 17};
diff --git a/arch/blackfin/kernel/setup.c b/arch/blackfin/kernel/setup.c
index 11eff2c3e980..fb4714f486fa 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)
165{ 165{
166 struct blackfin_cpudata *cpudata = &per_cpu(cpu_data, cpu); 166 struct blackfin_cpudata *cpudata = &per_cpu(cpu_data, cpu);
167 167
168 cpudata->idle = current;
169 cpudata->imemctl = bfin_read_IMEM_CONTROL(); 168 cpudata->imemctl = bfin_read_IMEM_CONTROL();
170 cpudata->dmemctl = bfin_read_DMEM_CONTROL(); 169 cpudata->dmemctl = bfin_read_DMEM_CONTROL();
171} 170}