diff options
author | Greg Ungerer <gerg@snapgear.com> | 2006-06-25 21:47:35 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-26 00:04:24 -0400 |
commit | 091487772c3312f3de599d99ca1d73395b54ed61 (patch) | |
tree | c08db236f1e93db46592c9188c4e79ad1057be3f /include | |
parent | afd1b836a0dfadeba43ec2167646ac7d428fb800 (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>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-m68knommu/irq.h | 2 |
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 | ||