Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Heiko Carstens and committed by
Martin Schwidefsky
cc43ec1a b1b70306

+1
+1
include/asm-s390/thread_info.h
··· 63 63 .exec_domain = &default_exec_domain, \ 64 64 .flags = 0, \ 65 65 .cpu = 0, \ 66 + .preempt_count = 1, \ 66 67 .restart_block = { \ 67 68 .fn = do_no_restart_syscall, \ 68 69 }, \