projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afd1b83
)
[PATCH] m68knommu: make enable_irq() macro statement
author
Greg Ungerer
<gerg@snapgear.com>
Mon, 26 Jun 2006 01:47:35 +0000
(11:47 +1000)
committer
Linus 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
patch
|
blob
|
blame
|
history
diff --git
a/include/asm-m68knommu/irq.h
b/include/asm-m68knommu/irq.h
index c5247516fcfeccc0036c3d5414486516a447ae31..53557274eef81d7386ab675aabafd42dcd620428 100644
(file)
--- a/
include/asm-m68knommu/irq.h
+++ b/
include/asm-m68knommu/irq.h
@@
-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)