提交 b14a72d6 编写于 作者: C Christoph Hellwig 提交者: Linus Torvalds

[PATCH] m68knommu: remove enable_irq_nosync()

m68k, m68knommu and h8300 define this, but it's not actually used
anywhere.
Signed-off-by: NChristoph Hellwig <hch@lst.de>
Cc: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 32588918
......@@ -61,11 +61,6 @@ static __inline__ int irq_canonicalize(int irq)
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;
......
......@@ -70,8 +70,6 @@ static __inline__ int irq_canonicalize(int irq)
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;
......
......@@ -86,8 +86,6 @@ extern void (*mach_disable_irq)(unsigned int);
*/
#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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册