]> git.openfabrics.org - ~shefty/rdma-dev.git/blobdiff - include/linux/sched.h
Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[~shefty/rdma-dev.git] / include / linux / sched.h
index f6ef727ee4fc8f4ccd86ce65b396ebbb7868c161..ed766add9b234b857ad367aae5f636a93320729e 100644 (file)
@@ -2526,7 +2526,7 @@ extern int _cond_resched(void);
 
 extern int __cond_resched_lock(spinlock_t *lock);
 
-#ifdef CONFIG_PREEMPT
+#ifdef CONFIG_PREEMPT_COUNT
 #define PREEMPT_LOCK_OFFSET    PREEMPT_OFFSET
 #else
 #define PREEMPT_LOCK_OFFSET    0