diff options
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 483c1ed5bc4d..4ecd5cbe7e24 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -2502,7 +2502,7 @@ extern int _cond_resched(void); | |||
2502 | 2502 | ||
2503 | extern int __cond_resched_lock(spinlock_t *lock); | 2503 | extern int __cond_resched_lock(spinlock_t *lock); |
2504 | 2504 | ||
2505 | #ifdef CONFIG_PREEMPT | 2505 | #ifdef CONFIG_PREEMPT_COUNT |
2506 | #define PREEMPT_LOCK_OFFSET PREEMPT_OFFSET | 2506 | #define PREEMPT_LOCK_OFFSET PREEMPT_OFFSET |
2507 | #else | 2507 | #else |
2508 | #define PREEMPT_LOCK_OFFSET 0 | 2508 | #define PREEMPT_LOCK_OFFSET 0 |