diff options
Diffstat (limited to 'arch/arc/include/asm/irqflags.h')
-rw-r--r-- | arch/arc/include/asm/irqflags.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/arch/arc/include/asm/irqflags.h b/arch/arc/include/asm/irqflags.h index cb7efc29f16f..587df8236e8b 100644 --- a/arch/arc/include/asm/irqflags.h +++ b/arch/arc/include/asm/irqflags.h | |||
@@ -131,24 +131,6 @@ static inline int arch_irqs_disabled(void) | |||
131 | return arch_irqs_disabled_flags(arch_local_save_flags()); | 131 | return arch_irqs_disabled_flags(arch_local_save_flags()); |
132 | } | 132 | } |
133 | 133 | ||
134 | static inline void arch_mask_irq(unsigned int irq) | ||
135 | { | ||
136 | unsigned int ienb; | ||
137 | |||
138 | ienb = read_aux_reg(AUX_IENABLE); | ||
139 | ienb &= ~(1 << irq); | ||
140 | write_aux_reg(AUX_IENABLE, ienb); | ||
141 | } | ||
142 | |||
143 | static inline void arch_unmask_irq(unsigned int irq) | ||
144 | { | ||
145 | unsigned int ienb; | ||
146 | |||
147 | ienb = read_aux_reg(AUX_IENABLE); | ||
148 | ienb |= (1 << irq); | ||
149 | write_aux_reg(AUX_IENABLE, ienb); | ||
150 | } | ||
151 | |||
152 | #else | 134 | #else |
153 | 135 | ||
154 | #ifdef CONFIG_TRACE_IRQFLAGS | 136 | #ifdef CONFIG_TRACE_IRQFLAGS |