From: Heiko Carstens Date: Thu, 29 Jun 2006 13:02:47 +0000 (+0200) Subject: [S390] preempt_count initialization. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cc43ec1ab0ae67c9cd5b3c2483a731afc98cbc2c;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [S390] preempt_count initialization. The preempt_count in the thread_info structure must be initialized to 1. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- 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, \ }, \