diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2006-09-20 15:58:51 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2006-09-20 15:58:51 +0200 |
commit | 39b083fe1c3c7b88939f6fa1b0b96e579f12e96f (patch) | |
tree | b56864fed4a0aa286696cb4e63cbea6d8a962c8a /include/asm-s390/smp.h | |
parent | ff6b8ea68f4b7353f88b97024f28127e2148aa00 (diff) | |
download | linux-39b083fe1c3c7b88939f6fa1b0b96e579f12e96f.tar.gz linux-39b083fe1c3c7b88939f6fa1b0b96e579f12e96f.tar.bz2 linux-39b083fe1c3c7b88939f6fa1b0b96e579f12e96f.zip |
[S390] empty function defines.
Use do { } while (0) constructs instead of empty defines to avoid
subtle compile bugs.
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/smp.h')
-rw-r--r-- | include/asm-s390/smp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-s390/smp.h b/include/asm-s390/smp.h index 657646054c5e..9fb02e9779c9 100644 --- a/include/asm-s390/smp.h +++ b/include/asm-s390/smp.h @@ -104,7 +104,7 @@ smp_call_function_on(void (*func) (void *info), void *info, #define smp_cpu_not_running(cpu) 1 #define smp_get_cpu(cpu) ({ 0; }) #define smp_put_cpu(cpu) ({ 0; }) -#define smp_setup_cpu_possible_map() +#define smp_setup_cpu_possible_map() do { } while (0) #endif #endif |