Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARC: [arcompact] fix bitrot with 2 levels of interrupt

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>

+4 -1
+4 -1
arch/arc/include/asm/irqflags-compact.h
··· 90 90 /* 91 91 * Unconditionally Enable IRQs 92 92 */ 93 + #ifdef CONFIG_ARC_COMPACT_IRQ_LEVELS 94 + extern void arch_local_irq_enable(void); 95 + #else 93 96 static inline void arch_local_irq_enable(void) 94 97 { 95 98 unsigned long temp; ··· 105 102 : "n"((STATUS_E1_MASK | STATUS_E2_MASK)) 106 103 : "cc", "memory"); 107 104 } 108 - 105 + #endif 109 106 110 107 /* 111 108 * Unconditionally Disable IRQs