diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2014-06-25 13:55:46 +0200 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2014-07-23 07:52:02 +0200 |
commit | 590892deb650fa152698f0a2f4eba44789e51c38 (patch) | |
tree | e7aa306095776f66d028b179995e84a8dec7147f /arch/arc/include | |
parent | ARC: [plat-arcfpga] No need for init_irq hack (diff) | |
download | linux-590892deb650fa152698f0a2f4eba44789e51c38.tar.xz linux-590892deb650fa152698f0a2f4eba44789e51c38.zip |
ARC: [intc] mask/unmask can be hidden again
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/include')
-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) return arch_irqs_disabled_flags(arch_local_save_flags()); } -static inline void arch_mask_irq(unsigned int irq) -{ - unsigned int ienb; - - ienb = read_aux_reg(AUX_IENABLE); - ienb &= ~(1 << irq); - write_aux_reg(AUX_IENABLE, ienb); -} - -static inline void arch_unmask_irq(unsigned int irq) -{ - unsigned int ienb; - - ienb = read_aux_reg(AUX_IENABLE); - ienb |= (1 << irq); - write_aux_reg(AUX_IENABLE, ienb); -} - #else #ifdef CONFIG_TRACE_IRQFLAGS |