summaryrefslogtreecommitdiffstats
path: root/include/asm-m68knommu/irq.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-m68knommu/irq.h')
-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 a08fa9b..993046b 100644
--- a/include/asm-m68knommu/irq.h
+++ b/include/asm-m68knommu/irq.h
@@ -84,8 +84,8 @@ extern void (*mach_disable_irq)(unsigned int);
/*
* Some drivers want these entry points
*/
-#define enable_irq(x) (mach_enable_irq ? (*mach_enable_irq)(x) : 0)
-#define disable_irq(x) (mach_disable_irq ? (*mach_disable_irq)(x) : 0)
+#define enable_irq(x) 0
+#define disable_irq(x) do { } while (0)
#define enable_irq_nosync(x) enable_irq(x)
#define disable_irq_nosync(x) disable_irq(x)
OpenPOWER on IntegriCloud