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>
This commit is contained in:
@@ -37,7 +37,7 @@ extern unsigned long dcache_invld_count[NR_CPUS];
|
||||
#endif
|
||||
|
||||
void smp_icache_flush_range_others(unsigned long start,
|
||||
unsigned long end);
|
||||
unsigned long end);
|
||||
#ifdef CONFIG_HOTPLUG_CPU
|
||||
void coreb_die(void);
|
||||
void cpu_die(void);
|
||||
@@ -46,4 +46,7 @@ int __cpu_disable(void);
|
||||
int __cpu_die(unsigned int cpu);
|
||||
#endif
|
||||
|
||||
void smp_timer_broadcast(const struct cpumask *mask);
|
||||
|
||||
|
||||
#endif /* !__ASM_BLACKFIN_SMP_H */
|
||||
|
Reference in New Issue
Block a user