projects
/
platform
/
kernel
/
kernel-mfld-blackbay.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
|
history
diff --git
a/include/asm-m68knommu/irq.h
b/include/asm-m68knommu/irq.h
index
c524751
..
5355727
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)