diff options
author | Matthew Wilcox <matthew@wil.cx> | 2006-12-06 08:15:05 +0300 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-12-08 09:10:18 +0300 |
commit | 3a1d1ac279fac16ab1b41b2868478f3085f9223c (patch) | |
tree | cf3734467e8e9cdd3e4c19065716faceaeb70f34 /include/asm-powerpc/hw_irq.h | |
parent | 1d4454e7ce30239e67b154ae08f6d906b9737334 (diff) | |
download | linux-3a1d1ac279fac16ab1b41b2868478f3085f9223c.tar.xz |
[POWERPC] Delete unused irq functions on powerpc
The ack_irq macro is unused and conflicts with James' work to template
the generic irq code. mask_irq and unmask_irq are also unused, so delete
those macros too.
Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc/hw_irq.h')
-rw-r--r-- | include/asm-powerpc/hw_irq.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/include/asm-powerpc/hw_irq.h b/include/asm-powerpc/hw_irq.h index d604863d72fb..9e4dd98eb220 100644 --- a/include/asm-powerpc/hw_irq.h +++ b/include/asm-powerpc/hw_irq.h @@ -107,25 +107,6 @@ static inline void local_irq_save_ptr(unsigned long *flags) #endif /* CONFIG_PPC64 */ -#define mask_irq(irq) \ - ({ \ - irq_desc_t *desc = get_irq_desc(irq); \ - if (desc->chip && desc->chip->disable) \ - desc->chip->disable(irq); \ - }) -#define unmask_irq(irq) \ - ({ \ - irq_desc_t *desc = get_irq_desc(irq); \ - if (desc->chip && desc->chip->enable) \ - desc->chip->enable(irq); \ - }) -#define ack_irq(irq) \ - ({ \ - irq_desc_t *desc = get_irq_desc(irq); \ - if (desc->chip && desc->chip->ack) \ - desc->chip->ack(irq); \ - }) - /* * interrupt-retrigger: should we handle this via lost interrupts and IPIs * or should we not care like we do now ? --BenH. |