diff options
Diffstat (limited to 'include/linux/sched.h')
| -rw-r--r-- | include/linux/sched.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 9fa151fb968e..06ac17c7e639 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
| @@ -2409,11 +2409,6 @@ static inline int signal_pending_state(long state, struct task_struct *p) | |||
| 2409 | return (state & TASK_INTERRUPTIBLE) || __fatal_signal_pending(p); | 2409 | return (state & TASK_INTERRUPTIBLE) || __fatal_signal_pending(p); |
| 2410 | } | 2410 | } |
| 2411 | 2411 | ||
| 2412 | static inline int need_resched(void) | ||
| 2413 | { | ||
| 2414 | return unlikely(test_preempt_need_resched()); | ||
| 2415 | } | ||
| 2416 | |||
| 2417 | /* | 2412 | /* |
| 2418 | * cond_resched() and cond_resched_lock(): latency reduction via | 2413 | * cond_resched() and cond_resched_lock(): latency reduction via |
| 2419 | * explicit rescheduling in places that are safe. The return | 2414 | * explicit rescheduling in places that are safe. The return |
