Blackfin: SMP: add PM/CPU hotplug support

Signed-off-by: Graf Yang <graf.yang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
Graf Yang
2009-12-28 11:13:51 +00:00
committed by Mike Frysinger
parent 0d152c27e3
commit 0b39db28b9
7 changed files with 138 additions and 13 deletions

View File

@@ -25,5 +25,12 @@ struct corelock_slot {
void smp_icache_flush_range_others(unsigned long start,
unsigned long end);
#ifdef CONFIG_HOTPLUG_CPU
void coreb_sleep(u32 sic_iwr0, u32 sic_iwr1, u32 sic_iwr2);
void cpu_die(void);
void platform_cpu_die(void);
int __cpu_disable(void);
int __cpu_die(unsigned int cpu);
#endif
#endif /* !__ASM_BLACKFIN_SMP_H */