Skip to contentSkip to conversation

ARM PF_IRQSOFF and PSR_Q_BIT

RFC New Daniel Walker 1 participant 1 message Nov 15, 2005

lore
Share & tools
lore
#0 lore raw

RFC 1/1 ARM PF_IRQSOFF and PSR_Q_BIT

In my ARM config PF_IRQSOFF and PSR_Q_BIT are equal. So you end up with
a __RAW_LOCAL_ILLEGAL_MASK that is identical to the PF_IRQSOFF flag. I get some weird errors in this config, but with PSR_T_BIT everything is fine .. Any thoughts?

Daniel

include/asm-arm/system.h +1 -1
Index: linux-2.6.14.2/include/asm-arm/system.h
===================================================================
@@ -308,7 +308,7 @@ do {									\
  * bit when thumb mode is disabled. The PSR_s and PSR_x bits are for
  * future extensions and definitely unreliable.
  */
-#define __RAW_LOCAL_ILLEGAL_MASK      PSR_Q_BIT
+#define __RAW_LOCAL_ILLEGAL_MASK      PSR_T_BIT
 
 #include <linux/rt_irq.h>