diff options
Diffstat (limited to 'include/asm-generic/preempt.h')
-rw-r--r-- | include/asm-generic/preempt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-generic/preempt.h b/include/asm-generic/preempt.h index 0bec580a4885..5d8ffa3e6f8c 100644 --- a/include/asm-generic/preempt.h +++ b/include/asm-generic/preempt.h | |||
@@ -24,7 +24,7 @@ static __always_inline void preempt_count_set(int pc) | |||
24 | * must be macros to avoid header recursion hell | 24 | * must be macros to avoid header recursion hell |
25 | */ | 25 | */ |
26 | #define init_task_preempt_count(p) do { \ | 26 | #define init_task_preempt_count(p) do { \ |
27 | task_thread_info(p)->preempt_count = PREEMPT_DISABLED; \ | 27 | task_thread_info(p)->preempt_count = FORK_PREEMPT_COUNT; \ |
28 | } while (0) | 28 | } while (0) |
29 | 29 | ||
30 | #define init_idle_preempt_count(p, cpu) do { \ | 30 | #define init_idle_preempt_count(p, cpu) do { \ |