OSDN Git Service

flags order fix
authorYoshinori Sato <ysato@users.sourceforge.jp>
Fri, 9 Jan 2015 07:23:12 +0000 (16:23 +0900)
committerYoshinori Sato <ysato@users.sourceforge.jp>
Fri, 9 Jan 2015 07:23:12 +0000 (16:23 +0900)
arch/h8300/include/asm/irqflags.h

index 98206a4..8c1be13 100644 (file)
@@ -77,7 +77,7 @@ static inline void arch_local_irq_restore(unsigned long flags)
 
 static inline int arch_irqs_disabled_flags(unsigned short flags)
 {
-       return (flags & 0x8007) == 0x8007;
+       return (flags & 0x0780) == 0x0780;
 }
 
 #endif