diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-11-02 22:24:33 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-11-02 22:24:33 +0000 |
commit | a054a811597a17ffbe92bc4db04a4dc2f1b1ea55 (patch) | |
tree | b600081d964d6fe7cc1cfe2669a739da0e1743f4 /include/asm-arm/smp.h | |
parent | 273c2cdb2b6d6743d85ddbde82e71f8adbf5bf10 (diff) | |
download | linux-a054a811597a17ffbe92bc4db04a4dc2f1b1ea55.tar.gz linux-a054a811597a17ffbe92bc4db04a4dc2f1b1ea55.tar.bz2 linux-a054a811597a17ffbe92bc4db04a4dc2f1b1ea55.zip |
[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/smp.h')
-rw-r--r-- | include/asm-arm/smp.h | 10 |
1 files changed, 10 insertions, 0 deletions
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 { }; 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 */ |