Commit b14a72d6 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Linus Torvalds

[PATCH] m68knommu: remove enable_irq_nosync()

m68k, m68knommu and h8300 define this, but it's not actually used
anywhere.
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Cc: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 32588918
...@@ -61,11 +61,6 @@ static __inline__ int irq_canonicalize(int irq) ...@@ -61,11 +61,6 @@ static __inline__ int irq_canonicalize(int irq)
extern void enable_irq(unsigned int); extern void enable_irq(unsigned int);
extern void disable_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) #define disable_irq_nosync(x) disable_irq(x)
struct irqaction; struct irqaction;
......
...@@ -70,8 +70,6 @@ static __inline__ int irq_canonicalize(int irq) ...@@ -70,8 +70,6 @@ static __inline__ int irq_canonicalize(int irq)
extern void (*enable_irq)(unsigned int); extern void (*enable_irq)(unsigned int);
extern void (*disable_irq)(unsigned int); extern void (*disable_irq)(unsigned int);
#define disable_irq_nosync disable_irq
#define enable_irq_nosync enable_irq #define enable_irq_nosync enable_irq
struct pt_regs; struct pt_regs;
......
...@@ -86,8 +86,6 @@ extern void (*mach_disable_irq)(unsigned int); ...@@ -86,8 +86,6 @@ extern void (*mach_disable_irq)(unsigned int);
*/ */
#define enable_irq(x) 0 #define enable_irq(x) 0
#define disable_irq(x) do { } while (0) #define disable_irq(x) do { } while (0)
#define enable_irq_nosync(x) enable_irq(x)
#define disable_irq_nosync(x) disable_irq(x) #define disable_irq_nosync(x) disable_irq(x)
struct irqaction; struct irqaction;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment