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 14a6c7b545de..341a4d78ddaa 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -2510,7 +2510,7 @@ extern int _cond_resched(void); | |||
2510 | 2510 | ||
2511 | extern int __cond_resched_lock(spinlock_t *lock); | 2511 | extern int __cond_resched_lock(spinlock_t *lock); |
2512 | 2512 | ||
2513 | #ifdef CONFIG_PREEMPT | 2513 | #ifdef CONFIG_PREEMPT_COUNT |
2514 | #define PREEMPT_LOCK_OFFSET PREEMPT_OFFSET | 2514 | #define PREEMPT_LOCK_OFFSET PREEMPT_OFFSET |
2515 | #else | 2515 | #else |
2516 | #define PREEMPT_LOCK_OFFSET 0 | 2516 | #define PREEMPT_LOCK_OFFSET 0 |