lkml.org 
[lkml]   [2005]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[RFC] ARM PF_IRQSOFF and PSR_Q_BIT
From
Date

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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-11-15 21:27    [W:0.052 / U:0.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site