Commit 09148777 authored by Greg Ungerer's avatar Greg Ungerer Committed by Linus Torvalds

[PATCH] m68knommu: make enable_irq() macro statement

Change enable_irq() macro to be a statement, not expression.
Signed-off-by: default avatarGreg Ungerer <gerg@uclinux.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent afd1b836
...@@ -83,7 +83,7 @@ extern void (*mach_disable_irq)(unsigned int); ...@@ -83,7 +83,7 @@ extern void (*mach_disable_irq)(unsigned int);
/* /*
* Some drivers want these entry points * 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(x) do { } while (0)
#define disable_irq_nosync(x) disable_irq(x) #define disable_irq_nosync(x) disable_irq(x)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment