aboutsummaryrefslogtreecommitdiff
path: root/include/asm-s390/dma.h
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2006-09-20 15:58:51 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2006-09-20 15:58:51 +0200
commit39b083fe1c3c7b88939f6fa1b0b96e579f12e96f (patch)
treeb56864fed4a0aa286696cb4e63cbea6d8a962c8a /include/asm-s390/dma.h
parentff6b8ea68f4b7353f88b97024f28127e2148aa00 (diff)
[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/dma.h')
-rw-r--r--include/asm-s390/dma.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-s390/dma.h b/include/asm-s390/dma.h
index 02720c449cd..7425c6af6cd 100644
--- a/include/asm-s390/dma.h
+++ b/include/asm-s390/dma.h
@@ -11,6 +11,6 @@
#define MAX_DMA_ADDRESS 0x80000000
-#define free_dma(x)
+#define free_dma(x) do { } while (0)
#endif /* _ASM_DMA_H */