mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
[ARM SMP] Add hotplug CPU infrastructure
This patch adds the infrastructure to support hotplug CPU on ARM platforms. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
parent
273c2cdb2b
commit
a054a81159
6 changed files with 143 additions and 0 deletions
|
|
@ -47,5 +47,6 @@ struct irqaction;
|
|||
struct pt_regs;
|
||||
int handle_IRQ_event(unsigned int, struct pt_regs *, struct irqaction *);
|
||||
|
||||
extern void migrate_irqs(void);
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -66,4 +66,14 @@ struct secondary_data {
|
|||
};
|
||||
extern struct secondary_data secondary_data;
|
||||
|
||||
extern int __cpu_disable(void);
|
||||
extern int mach_cpu_disable(unsigned int cpu);
|
||||
|
||||
extern void __cpu_die(unsigned int cpu);
|
||||
extern void cpu_die(void);
|
||||
|
||||
extern void platform_cpu_die(unsigned int cpu);
|
||||
extern int platform_cpu_kill(unsigned int cpu);
|
||||
extern void platform_cpu_enable(unsigned int cpu);
|
||||
|
||||
#endif /* ifndef __ASM_ARM_SMP_H */
|
||||
|
|
|
|||
Loading…
Reference in a new issue