[patch 20/24] s390: preempt_count initialization.
From: Martin Schwidefsky
Date: Wed Jun 14 2006 - 10:15:11 EST
From: Heiko Carstens <heiko.carstens@xxxxxxxxxx>
[S390] preempt_count initialization.
The preempt_count in the thread_info structure must be initialized to 1.
Signed-off-by: Heiko Carstens <heiko.carstens@xxxxxxxxxx>
Signed-off-by: Martin Schwidefsky <schwidefsky@xxxxxxxxxx>
---
include/asm-s390/thread_info.h | 1 +
1 files changed, 1 insertion(+)
diff -urpN linux-2.6/include/asm-s390/thread_info.h linux-2.6-patched/include/asm-s390/thread_info.h
--- linux-2.6/include/asm-s390/thread_info.h 2006-03-20 06:53:29.000000000 +0100
+++ linux-2.6-patched/include/asm-s390/thread_info.h 2006-06-14 14:29:59.000000000 +0200
@@ -63,6 +63,7 @@ struct thread_info {
.exec_domain = &default_exec_domain, \
.flags = 0, \
.cpu = 0, \
+ .preempt_count = 1, \
.restart_block = { \
.fn = do_no_restart_syscall, \
}, \
-
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/