mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-28 17:41:50 +00:00
[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>
This commit is contained in:
parent
b1b7030691
commit
cc43ec1ab0
1 changed files with 1 additions and 0 deletions
|
@ -63,6 +63,7 @@ struct thread_info {
|
||||||
.exec_domain = &default_exec_domain, \
|
.exec_domain = &default_exec_domain, \
|
||||||
.flags = 0, \
|
.flags = 0, \
|
||||||
.cpu = 0, \
|
.cpu = 0, \
|
||||||
|
.preempt_count = 1, \
|
||||||
.restart_block = { \
|
.restart_block = { \
|
||||||
.fn = do_no_restart_syscall, \
|
.fn = do_no_restart_syscall, \
|
||||||
}, \
|
}, \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue