Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

-4
-3
arch/blackfin/include/asm/cpu.h
··· 10 10 11 11 #include <linux/percpu.h> 12 12 13 - struct task_struct; 14 - 15 13 struct blackfin_cpudata { 16 14 struct cpu cpu; 17 - struct task_struct *idle; 18 15 unsigned int imemctl; 19 16 unsigned int dmemctl; 20 17 };
-1
arch/blackfin/kernel/setup.c
··· 165 165 { 166 166 struct blackfin_cpudata *cpudata = &per_cpu(cpu_data, cpu); 167 167 168 - cpudata->idle = current; 169 168 cpudata->imemctl = bfin_read_IMEM_CONTROL(); 170 169 cpudata->dmemctl = bfin_read_DMEM_CONTROL(); 171 170 }