[RFC] ARM PF_IRQSOFF and PSR_Q_BIT

From: Daniel Walker
Date: Tue Nov 15 2005 - 15:24:20 EST



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

Index: linux-2.6.14.2/include/asm-arm/system.h
===================================================================
--- linux-2.6.14.2.orig/include/asm-arm/system.h
+++ 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>



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/