aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-m68knommu
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2006-01-06 03:18:45 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-06 11:33:44 -0500
commit32588918254cff7c03651dcbd3d8cc2301aba5bd (patch)
tree702d0f0f5af90c3bc103e2894071ea9ea197964d /include/asm-m68knommu
parentadfc31c67f4515ed4bad1ef9555cbacdfc24e8d3 (diff)
[PATCH] m68knommu: enable_irq/disable_irq
mach_enable_irq/mach_disable_irq are never actually set, so let's remove them. Signed-off-by: Christoph Hellwig <hch@lst.de> Cc: Greg Ungerer <gerg@uclinux.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-m68knommu')
-rw-r--r--include/asm-m68knommu/irq.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-m68knommu/irq.h b/include/asm-m68knommu/irq.h
index a08fa9b958da..993046b1e380 100644
--- a/include/asm-m68knommu/irq.h
+++ b/include/asm-m68knommu/irq.h
@@ -84,8 +84,8 @@ extern void (*mach_disable_irq)(unsigned int);
84/* 84/*
85 * Some drivers want these entry points 85 * Some drivers want these entry points
86 */ 86 */
87#define enable_irq(x) (mach_enable_irq ? (*mach_enable_irq)(x) : 0) 87#define enable_irq(x) 0
88#define disable_irq(x) (mach_disable_irq ? (*mach_disable_irq)(x) : 0) 88#define disable_irq(x) do { } while (0)
89 89
90#define enable_irq_nosync(x) enable_irq(x) 90#define enable_irq_nosync(x) enable_irq(x)
91#define disable_irq_nosync(x) disable_irq(x) 91#define disable_irq_nosync(x) disable_irq(x)