summaryrefslogtreecommitdiffstats
path: root/include/asm-m68knommu
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@snapgear.com>2006-06-26 11:47:35 +1000
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-25 21:04:24 -0700
commit091487772c3312f3de599d99ca1d73395b54ed61 (patch)
treec08db236f1e93db46592c9188c4e79ad1057be3f /include/asm-m68knommu
parentafd1b836a0dfadeba43ec2167646ac7d428fb800 (diff)
downloadlinux-091487772c3312f3de599d99ca1d73395b54ed61.tar.gz
linux-091487772c3312f3de599d99ca1d73395b54ed61.tar.bz2
linux-091487772c3312f3de599d99ca1d73395b54ed61.zip
[PATCH] m68knommu: make enable_irq() macro statement
Change enable_irq() macro to be a statement, not expression. Signed-off-by: Greg Ungerer <gerg@uclinux.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-m68knommu')
-rw-r--r--include/asm-m68knommu/irq.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-m68knommu/irq.h b/include/asm-m68knommu/irq.h
index c5247516fcfe..53557274eef8 100644
--- a/include/asm-m68knommu/irq.h
+++ b/include/asm-m68knommu/irq.h
@@ -83,7 +83,7 @@ extern void (*mach_disable_irq)(unsigned int);
/*
* Some drivers want these entry points
*/
-#define enable_irq(x) 0
+#define enable_irq(x) do { } while (0)
#define disable_irq(x) do { } while (0)
#define disable_irq_nosync(x) disable_irq(x)