]> err.no Git - linux-2.6/commitdiff
[S390] preempt_count initialization.
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 29 Jun 2006 13:02:47 +0000 (15:02 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 29 Jun 2006 13:02:47 +0000 (15:02 +0200)
The preempt_count in the thread_info structure must be initialized to 1.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
include/asm-s390/thread_info.h

index 8e0c7ed73d0312a811c5a3f887527747a6c669c3..0a518915bf90f1087466444caf0809a8b9b3a02b 100644 (file)
@@ -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,    \
        },                                      \