diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2014-06-25 17:25:46 +0530 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2014-07-23 11:22:02 +0530 |
commit | 590892deb650fa152698f0a2f4eba44789e51c38 (patch) | |
tree | e7aa306095776f66d028b179995e84a8dec7147f /arch/arc/include | |
parent | 25c7c11fa5642ee426fc9fe54661ffeed809413f (diff) | |
download | op-kernel-dev-590892deb650fa152698f0a2f4eba44789e51c38.zip op-kernel-dev-590892deb650fa152698f0a2f4eba44789e51c38.tar.gz |
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 cb7efc2..587df82 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 |