]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
[PATCH] m68knommu: make enable_irq() macro statement
authorGreg Ungerer <gerg@snapgear.com>
Mon, 26 Jun 2006 01:47:35 +0000 (11:47 +1000)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 26 Jun 2006 04:04:24 +0000 (21:04 -0700)
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>
include/asm-m68knommu/irq.h

index c5247516fcfeccc0036c3d5414486516a447ae31..53557274eef81d7386ab675aabafd42dcd620428 100644 (file)
@@ -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)