diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-07-17 22:51:33 +0200 |
---|---|---|
committer | Clark Williams <williams@redhat.com> | 2012-03-07 16:15:02 -0600 |
commit | 88844a986bfd9f21704afc94e4bbee1e603bf2db (patch) | |
tree | ed947c2fd5876bc2daf80a3c4507eba8827db831 /include | |
parent | ba3ff92720fa97908fdb348f129a1c25d04de6e6 (diff) |
cond-resched-lock-rt-tweak.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include')
-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 99e7f8bca335..175aaeec5b27 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -2599,7 +2599,7 @@ extern int _cond_resched(void); extern int __cond_resched_lock(spinlock_t *lock); -#ifdef CONFIG_PREEMPT_COUNT +#if defined(CONFIG_PREEMPT_COUNT) && !defined(CONFIG_PREEMPT_RT_FULL) #define PREEMPT_LOCK_OFFSET PREEMPT_OFFSET #else #define PREEMPT_LOCK_OFFSET 0 |