public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] remove enable_irq_nosync
@ 2005-11-13  7:59 Christoph Hellwig
  0 siblings, 0 replies; only message in thread
From: Christoph Hellwig @ 2005-11-13  7:59 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel

m68k, m68knommu and h8300 define this, but it's not actually used
anywhere.


Signed-off-by: Christoph Hellwig <hch@lst.de>

Index: linux-2.6/include/asm-h8300/irq.h
===================================================================
--- linux-2.6.orig/include/asm-h8300/irq.h	2005-11-13 00:06:45.000000000 +0100
+++ linux-2.6/include/asm-h8300/irq.h	2005-11-13 00:07:53.000000000 +0100
@@ -61,11 +61,6 @@
 
 extern void enable_irq(unsigned int);
 extern void disable_irq(unsigned int);
-
-/*
- * Some drivers want these entry points
- */
-#define enable_irq_nosync(x)	enable_irq(x)
 #define disable_irq_nosync(x)	disable_irq(x)
 
 struct irqaction;
Index: linux-2.6/include/asm-m68k/irq.h
===================================================================
--- linux-2.6.orig/include/asm-m68k/irq.h	2005-11-13 00:06:45.000000000 +0100
+++ linux-2.6/include/asm-m68k/irq.h	2005-11-13 00:07:53.000000000 +0100
@@ -70,8 +70,6 @@
 
 extern void (*enable_irq)(unsigned int);
 extern void (*disable_irq)(unsigned int);
-
-#define disable_irq_nosync	disable_irq
 #define enable_irq_nosync	enable_irq
 
 struct pt_regs;
Index: linux-2.6/include/asm-m68knommu/irq.h
===================================================================
--- linux-2.6.orig/include/asm-m68knommu/irq.h	2005-11-13 00:07:53.000000000 +0100
+++ linux-2.6/include/asm-m68knommu/irq.h	2005-11-13 00:08:09.000000000 +0100
@@ -86,8 +86,6 @@
  */
 #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)
 
 struct irqaction;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-11-13  8:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-13  7:59 [PATCH] remove enable_irq_nosync Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox