diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-11-02 17:24:33 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-11-02 17:24:33 -0500 |
commit | a054a811597a17ffbe92bc4db04a4dc2f1b1ea55 (patch) | |
tree | b600081d964d6fe7cc1cfe2669a739da0e1743f4 /include/asm-arm | |
parent | 273c2cdb2b6d6743d85ddbde82e71f8adbf5bf10 (diff) |
[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>
Diffstat (limited to 'include/asm-arm')
-rw-r--r-- | include/asm-arm/irq.h | 1 | ||||
-rw-r--r-- | include/asm-arm/smp.h | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/include/asm-arm/irq.h b/include/asm-arm/irq.h index f97912fbb10f..59975ee43cf1 100644 --- a/include/asm-arm/irq.h +++ b/include/asm-arm/irq.h | |||
@@ -47,5 +47,6 @@ struct irqaction; | |||
47 | struct pt_regs; | 47 | struct pt_regs; |
48 | int handle_IRQ_event(unsigned int, struct pt_regs *, struct irqaction *); | 48 | int handle_IRQ_event(unsigned int, struct pt_regs *, struct irqaction *); |
49 | 49 | ||
50 | extern void migrate_irqs(void); | ||
50 | #endif | 51 | #endif |
51 | 52 | ||
diff --git a/include/asm-arm/smp.h b/include/asm-arm/smp.h index dbb4d859c586..551cd3c3093c 100644 --- a/include/asm-arm/smp.h +++ b/include/asm-arm/smp.h | |||
@@ -66,4 +66,14 @@ struct secondary_data { | |||
66 | }; | 66 | }; |
67 | extern struct secondary_data secondary_data; | 67 | extern struct secondary_data secondary_data; |
68 | 68 | ||
69 | extern int __cpu_disable(void); | ||
70 | extern int mach_cpu_disable(unsigned int cpu); | ||
71 | |||
72 | extern void __cpu_die(unsigned int cpu); | ||
73 | extern void cpu_die(void); | ||
74 | |||
75 | extern void platform_cpu_die(unsigned int cpu); | ||
76 | extern int platform_cpu_kill(unsigned int cpu); | ||
77 | extern void platform_cpu_enable(unsigned int cpu); | ||
78 | |||
69 | #endif /* ifndef __ASM_ARM_SMP_H */ | 79 | #endif /* ifndef __ASM_ARM_SMP_H */ |