Skip to content

Commit

Permalink
[PATCH] m68knommu: make enable_irq() macro statement
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Ungerer authored and Linus Torvalds committed Jun 26, 2006
1 parent afd1b83 commit 0914877
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/asm-m68knommu/irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 0914877

Please sign in to comment.