summaryrefslogtreecommitdiffstats
path: root/arch/arc/include
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2014-06-25 17:25:46 +0530
committerVineet Gupta <vgupta@synopsys.com>2014-07-23 11:22:02 +0530
commit590892deb650fa152698f0a2f4eba44789e51c38 (patch)
treee7aa306095776f66d028b179995e84a8dec7147f /arch/arc/include
parent25c7c11fa5642ee426fc9fe54661ffeed809413f (diff)
downloadop-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.h18
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
OpenPOWER on IntegriCloud