summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/include/asm/cpu.h
diff options
context:
space:
mode:
authorBob Liu <lliubbo@gmail.com>2011-12-12 11:04:05 +0800
committerBob Liu <lliubbo@gmail.com>2012-01-09 10:26:15 +0800
commitd0014be47dc90d15adf7d6e09031d06e2aa7ce79 (patch)
tree1f633a783e6536a0e24ad0453533882dc21ca1bd /arch/blackfin/include/asm/cpu.h
parent16df3666f43507a6d21e192dae39b69cafc17089 (diff)
downloadblackbird-obmc-linux-d0014be47dc90d15adf7d6e09031d06e2aa7ce79.tar.gz
blackbird-obmc-linux-d0014be47dc90d15adf7d6e09031d06e2aa7ce79.zip
blackfin: smp: cleanup smp code
move idle task point to percpu blackfin_cpudata and add smp_timer_broadcast interface. enable SUPPLE_1_WAKEUP and add BFIN_IPI_TIMER ipi support. Signed-off-by: Steven Miao <realmz6@gmail.com> Signed-off-by: Bob Liu <lliubbo@gmail.com>
Diffstat (limited to 'arch/blackfin/include/asm/cpu.h')
-rw-r--r--arch/blackfin/include/asm/cpu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/blackfin/include/asm/cpu.h b/arch/blackfin/include/asm/cpu.h
index 05043786da21..e349631c8299 100644
--- a/arch/blackfin/include/asm/cpu.h
+++ b/arch/blackfin/include/asm/cpu.h
@@ -14,6 +14,9 @@ struct blackfin_cpudata {
struct cpu cpu;
unsigned int imemctl;
unsigned int dmemctl;
+#ifdef CONFIG_SMP
+ struct task_struct *idle;
+#endif
};
DECLARE_PER_CPU(struct blackfin_cpudata, cpu_data);
OpenPOWER on IntegriCloud