summaryrefslogtreecommitdiffstats
path: root/include/asm-s390
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2006-06-29 15:02:47 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2006-06-29 15:02:47 +0200
commitcc43ec1ab0ae67c9cd5b3c2483a731afc98cbc2c (patch)
tree1de98aaf41e746566b6db39778edd3fb22403372 /include/asm-s390
parentb1b70306911a35b3851a73c87e6e9bd45a08b893 (diff)
downloadlinux-cc43ec1ab0ae67c9cd5b3c2483a731afc98cbc2c.tar.gz
linux-cc43ec1ab0ae67c9cd5b3c2483a731afc98cbc2c.tar.bz2
linux-cc43ec1ab0ae67c9cd5b3c2483a731afc98cbc2c.zip
[S390] preempt_count initialization.
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>
Diffstat (limited to 'include/asm-s390')
-rw-r--r--include/asm-s390/thread_info.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-s390/thread_info.h b/include/asm-s390/thread_info.h
index 8e0c7ed73d03..0a518915bf90 100644
--- a/include/asm-s390/thread_info.h
+++ b/include/asm-s390/thread_info.h
@@ -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, \
}, \