aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@snapgear.com>2006-06-25 21:47:35 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-26 00:04:24 -0400
commit091487772c3312f3de599d99ca1d73395b54ed61 (patch)
treec08db236f1e93db46592c9188c4e79ad1057be3f
parentafd1b836a0dfadeba43ec2167646ac7d428fb800 (diff)
[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>
-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);
83/* 83/*
84 * Some drivers want these entry points 84 * Some drivers want these entry points
85 */ 85 */
86#define enable_irq(x) 0 86#define enable_irq(x) do { } while (0)
87#define disable_irq(x) do { } while (0) 87#define disable_irq(x) do { } while (0)
88#define disable_irq_nosync(x) disable_irq(x) 88#define disable_irq_nosync(x) disable_irq(x)
89 89