[PATCH] m68knommu: remove enable_irq_nosync()
m68k, m68knommu and h8300 define this, but it's not actually used anywhere. 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>
This commit is contained in:
Родитель
3258891825
Коммит
b14a72d6cb
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче