diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2008-04-30 07:38:37 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-04-30 07:38:44 -0400 |
commit | 1e489518da2a49604df2c3281034097274324be9 (patch) | |
tree | f0a6e5b9a19d2d3f8aef4ba1ad3a762e01d4e67a /include/asm-s390 | |
parent | 0b18d318b80a7f350648ca8f7cc00a2f688104cb (diff) |
[S390] Automatically detect added cpus.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'include/asm-s390')
-rw-r--r-- | include/asm-s390/smp.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-s390/smp.h b/include/asm-s390/smp.h index 6f3821a6a902..8376b195a1b6 100644 --- a/include/asm-s390/smp.h +++ b/include/asm-s390/smp.h | |||
@@ -108,5 +108,11 @@ static inline void smp_send_stop(void) | |||
108 | #define smp_cpu_not_running(cpu) 1 | 108 | #define smp_cpu_not_running(cpu) 1 |
109 | #endif | 109 | #endif |
110 | 110 | ||
111 | #ifdef CONFIG_HOTPLUG_CPU | ||
112 | extern int smp_rescan_cpus(void); | ||
113 | #else | ||
114 | static inline int smp_rescan_cpus(void) { return 0; } | ||
115 | #endif | ||
116 | |||
111 | extern union save_area *zfcpdump_save_areas[NR_CPUS + 1]; | 117 | extern union save_area *zfcpdump_save_areas[NR_CPUS + 1]; |
112 | #endif | 118 | #endif |