mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 12:52:30 +00:00
[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>
This commit is contained in:
parent
afd1b836a0
commit
091487772c
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user