Skip to contentSkip to conversation

um: Fix definition typo of ARCH_IRQ_ENABLED

PATCH In review Daniel Wagner 2 participants 2 messages Aug 16, 2016 User-mode Linux (UML)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 um: Fix definition typo of ARCH_IRQ_ENABLED

From: Daniel Wagner <[email protected]>

3e9389573574 ("um: Use asm-generic/irqflags.h") introduced a typo.

---
Hi Richard,

I just saw that the original patch made into mainline including a fat typo. I just wonder why the compiler didn't complain or why it just worked...

cheers,
daniel

arch/um/include/asm/irqflags.h | 2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)
arch/um/include/asm/irqflags.h +1 -1
index 3bb221e..2bd602e 100644
@@ -31,7 +31,7 @@ static inline void arch_local_irq_disable(void)
 }
 
 #define ARCH_IRQ_DISABLED	0
-#define ARCh_IRQ_ENABLED	(SIGIO|SIGVTALRM)
+#define ARCH_IRQ_ENABLED	(SIGIO|SIGVTALRM)
 
 #include <asm-generic/irqflags.h>
 
Signature · 1 line
2.7.4
#1 lore raw

Daniel,

Quoted 11 lines · Daniel Wagner

From: Daniel Wagner <[email protected]>

3e9389573574 ("um: Use asm-generic/irqflags.h") introduced a typo.

---
Hi Richard,

I just saw that the original patch made into mainline including a fat typo. I just wonder why the compiler didn't complain or why it just worked...

Hmm, it seems like ARCH_IRQ_ENABLED is not really used. Let me dig into that...

Thanks,
//richard