[patch 03/37] Change Alpha active count bit

From: Mathieu Desnoyers
Date: Thu Apr 24 2008 - 11:15:01 EST


alpha 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@xxxxxxxxxx>
CC: rth@xxxxxxxxxxx
CC: ink@xxxxxxxxxxxxxxxxxxxx
---
include/asm-alpha/thread_info.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6-sched-devel/include/asm-alpha/thread_info.h
===================================================================
--- linux-2.6-sched-devel.orig/include/asm-alpha/thread_info.h 2008-04-24 10:28:41.000000000 -0400
+++ linux-2.6-sched-devel/include/asm-alpha/thread_info.h 2008-04-24 10:30:22.000000000 -0400
@@ -57,7 +57,7 @@ register struct thread_info *__current_t

#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
--
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/