diff options
Diffstat (limited to 'include/asm-powerpc')
-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) | |||
107 | 107 | ||
108 | #endif /* CONFIG_PPC64 */ | 108 | #endif /* CONFIG_PPC64 */ |
109 | 109 | ||
110 | #define mask_irq(irq) \ | ||
111 | ({ \ | ||
112 | irq_desc_t *desc = get_irq_desc(irq); \ | ||
113 | if (desc->chip && desc->chip->disable) \ | ||
114 | desc->chip->disable(irq); \ | ||
115 | }) | ||
116 | #define unmask_irq(irq) \ | ||
117 | ({ \ | ||
118 | irq_desc_t *desc = get_irq_desc(irq); \ | ||
119 | if (desc->chip && desc->chip->enable) \ | ||
120 | desc->chip->enable(irq); \ | ||
121 | }) | ||
122 | #define ack_irq(irq) \ | ||
123 | ({ \ | ||
124 | irq_desc_t *desc = get_irq_desc(irq); \ | ||
125 | if (desc->chip && desc->chip->ack) \ | ||
126 | desc->chip->ack(irq); \ | ||
127 | }) | ||
128 | |||
129 | /* | 110 | /* |
130 | * interrupt-retrigger: should we handle this via lost interrupts and IPIs | 111 | * interrupt-retrigger: should we handle this via lost interrupts and IPIs |
131 | * or should we not care like we do now ? --BenH. | 112 | * or should we not care like we do now ? --BenH. |