diff options
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index c204613396cd..df42cac04243 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -3419,15 +3419,6 @@ static inline void cond_resched_rcu(void) | |||
3419 | #endif | 3419 | #endif |
3420 | } | 3420 | } |
3421 | 3421 | ||
3422 | static inline unsigned long get_preempt_disable_ip(struct task_struct *p) | ||
3423 | { | ||
3424 | #ifdef CONFIG_DEBUG_PREEMPT | ||
3425 | return p->preempt_disable_ip; | ||
3426 | #else | ||
3427 | return 0; | ||
3428 | #endif | ||
3429 | } | ||
3430 | |||
3431 | /* | 3422 | /* |
3432 | * Does a critical section need to be broken due to another | 3423 | * Does a critical section need to be broken due to another |
3433 | * task waiting?: (technically does not depend on CONFIG_PREEMPT, | 3424 | * task waiting?: (technically does not depend on CONFIG_PREEMPT, |