|
@@ -3419,15 +3419,6 @@ static inline void cond_resched_rcu(void)
|
|
#endif
|
|
#endif
|
|
}
|
|
}
|
|
|
|
|
|
-static inline unsigned long get_preempt_disable_ip(struct task_struct *p)
|
|
|
|
-{
|
|
|
|
-#ifdef CONFIG_DEBUG_PREEMPT
|
|
|
|
- return p->preempt_disable_ip;
|
|
|
|
-#else
|
|
|
|
- return 0;
|
|
|
|
-#endif
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
/*
|
|
/*
|
|
* Does a critical section need to be broken due to another
|
|
* Does a critical section need to be broken due to another
|
|
* task waiting?: (technically does not depend on CONFIG_PREEMPT,
|
|
* task waiting?: (technically does not depend on CONFIG_PREEMPT,
|