s390: preempt_count initialization.
PATCH 20/24 s390: preempt_count initialization.
From: Heiko Carstens <[email protected]>
[S390] preempt_count initialization.
The preempt_count in the thread_info structure must be initialized to 1.
Signed-off-by Heiko Carstens <[email protected]>
Signed-off-by Martin Schwidefsky <[email protected]>
---
include/asm-s390/thread_info.h | 1 + 1 files changed, 1 insertion(+)
include/asm-s390/thread_info.h +1 -0
@@ -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, \ }, \