ARC: [arcompact] fix bitrot with 2 levels of interrupt
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
This commit is contained in:
parent
00fdec98d9
commit
33b59f1671
@ -90,6 +90,9 @@ static inline void arch_local_irq_restore(unsigned long flags)
|
|||||||
/*
|
/*
|
||||||
* Unconditionally Enable IRQs
|
* Unconditionally Enable IRQs
|
||||||
*/
|
*/
|
||||||
|
#ifdef CONFIG_ARC_COMPACT_IRQ_LEVELS
|
||||||
|
extern void arch_local_irq_enable(void);
|
||||||
|
#else
|
||||||
static inline void arch_local_irq_enable(void)
|
static inline void arch_local_irq_enable(void)
|
||||||
{
|
{
|
||||||
unsigned long temp;
|
unsigned long temp;
|
||||||
@ -102,7 +105,7 @@ static inline void arch_local_irq_enable(void)
|
|||||||
: "n"((STATUS_E1_MASK | STATUS_E2_MASK))
|
: "n"((STATUS_E1_MASK | STATUS_E2_MASK))
|
||||||
: "cc", "memory");
|
: "cc", "memory");
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Unconditionally Disable IRQs
|
* Unconditionally Disable IRQs
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user