Title: [9831] trunk/arch/blackfin: Blackfin: SMP: drop unused blackfin_cpudata.idle pointer
Revision
9831
Author
vapier
Date
2011-04-13 19:25:29 -0400 (Wed, 13 Apr 2011)

Log Message

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.

Modified Paths

Diff

Modified: trunk/arch/blackfin/include/asm/cpu.h (9830 => 9831)


--- trunk/arch/blackfin/include/asm/cpu.h	2011-04-13 23:25:10 UTC (rev 9830)
+++ trunk/arch/blackfin/include/asm/cpu.h	2011-04-13 23:25:29 UTC (rev 9831)
@@ -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;
 };

Modified: trunk/arch/blackfin/kernel/setup.c (9830 => 9831)


--- trunk/arch/blackfin/kernel/setup.c	2011-04-13 23:25:10 UTC (rev 9830)
+++ trunk/arch/blackfin/kernel/setup.c	2011-04-13 23:25:29 UTC (rev 9831)
@@ -165,7 +165,6 @@
 {
 	struct blackfin_cpudata *cpudata = &per_cpu(cpu_data, cpu);
 
-	cpudata->idle = current;
 	cpudata->imemctl = bfin_read_IMEM_CONTROL();
 	cpudata->dmemctl = bfin_read_DMEM_CONTROL();
 }
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to