]> Git Repo - linux.git/commitdiff
[PATCH] m68knommu: make enable_irq() macro statement
authorGreg Ungerer <[email protected]>
Mon, 26 Jun 2006 01:47:35 +0000 (11:47 +1000)
committerLinus Torvalds <[email protected]>
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 <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
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
  */
 /*
  * 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)
 
 #define disable_irq(x) do { } while (0)
 #define disable_irq_nosync(x)  disable_irq(x)
 
This page took 0.068274 seconds and 4 git commands to generate.