diff options
Diffstat (limited to 'include/asm-generic/preempt.h')
-rw-r--r-- | include/asm-generic/preempt.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/asm-generic/preempt.h b/include/asm-generic/preempt.h index 1cd3f5d767a8..eb6f9e6c3075 100644 --- a/include/asm-generic/preempt.h +++ b/include/asm-generic/preempt.h | |||
@@ -23,9 +23,6 @@ static __always_inline void preempt_count_set(int pc) | |||
23 | /* | 23 | /* |
24 | * must be macros to avoid header recursion hell | 24 | * must be macros to avoid header recursion hell |
25 | */ | 25 | */ |
26 | #define task_preempt_count(p) \ | ||
27 | (task_thread_info(p)->preempt_count & ~PREEMPT_NEED_RESCHED) | ||
28 | |||
29 | #define init_task_preempt_count(p) do { \ | 26 | #define init_task_preempt_count(p) do { \ |
30 | task_thread_info(p)->preempt_count = PREEMPT_DISABLED; \ | 27 | task_thread_info(p)->preempt_count = PREEMPT_DISABLED; \ |
31 | } while (0) | 28 | } while (0) |