summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-07-17 20:51:33 (GMT)
committerScott Wood <scottwood@freescale.com>2014-05-14 18:38:13 (GMT)
commitf80aee98490e2f3ded0bf8f534a0d4955b4148c4 (patch)
tree46f2e6bd30c80748ba15bd3bf99eda16d2cccf2c /include/linux
parent6978b913fd1e835e7e26157d538bdbd5bc8bdad0 (diff)
downloadlinux-fsl-qoriq-f80aee98490e2f3ded0bf8f534a0d4955b4148c4.tar.xz
cond-resched-lock-rt-tweak.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/sched.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index a99e9e2..bf1cf6d 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -2528,7 +2528,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