aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/linux/sched.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 5a63f2d72af6..5395a6176f4b 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -2038,7 +2038,7 @@ static inline int need_resched(void)
2038 * cond_resched_softirq() will enable bhs before scheduling. 2038 * cond_resched_softirq() will enable bhs before scheduling.
2039 */ 2039 */
2040extern int _cond_resched(void); 2040extern int _cond_resched(void);
2041#ifdef CONFIG_PREEMPT 2041#ifdef CONFIG_PREEMPT_BKL
2042static inline int cond_resched(void) 2042static inline int cond_resched(void)
2043{ 2043{
2044 return 0; 2044 return 0;