lkml.org 
[lkml]   [2008]   [Apr]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch 04/37] Change avr32 active count bit
avr32 uses the active count bit 31. This patch moves it to 28 so 31 is freed for
nmi count.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
CC: hskinnemoen@atmel.com
---
include/asm-avr32/thread_info.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6-sched-devel/include/asm-avr32/thread_info.h
===================================================================
--- linux-2.6-sched-devel.orig/include/asm-avr32/thread_info.h 2008-04-24 10:31:47.000000000 -0400
+++ linux-2.6-sched-devel/include/asm-avr32/thread_info.h 2008-04-24 10:32:16.000000000 -0400
@@ -70,7 +70,7 @@ static inline struct thread_info *curren

#endif /* !__ASSEMBLY__ */

-#define PREEMPT_ACTIVE 0x40000000
+#define PREEMPT_ACTIVE 0x10000000

/*
* Thread information flags
--
Mathieu Desnoyers
Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68


\
 
 \ /
  Last update: 2008-04-24 17:25    [W:0.270 / U:0.400 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site