diff options
Diffstat (limited to 'include/linux/sched.h')
| -rw-r--r-- | include/linux/sched.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index cdf56693ecbf..8744e50cb083 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
| @@ -2366,9 +2366,9 @@ extern int __cond_resched_lock(spinlock_t *lock); | |||
| 2366 | 2366 | ||
| 2367 | extern int __cond_resched_softirq(void); | 2367 | extern int __cond_resched_softirq(void); |
| 2368 | 2368 | ||
| 2369 | #define cond_resched_softirq() ({ \ | 2369 | #define cond_resched_softirq() ({ \ |
| 2370 | __might_sleep(__FILE__, __LINE__, SOFTIRQ_OFFSET); \ | 2370 | __might_sleep(__FILE__, __LINE__, SOFTIRQ_DISABLE_OFFSET); \ |
| 2371 | __cond_resched_softirq(); \ | 2371 | __cond_resched_softirq(); \ |
| 2372 | }) | 2372 | }) |
| 2373 | 2373 | ||
| 2374 | /* | 2374 | /* |
