aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-01-25 14:11:31 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2014-01-25 14:11:31 -0500
commitf6d13daaddeb6e63b15a93bf36a80173bafd29bf (patch)
treefbdd45b284d537865036e8e8d740d849be0bbfc3 /include/linux
parentd4a63a83933bcd1ef4f3ff6e8637e187dea25632 (diff)
parent5e3c1afd4587e70c201bf7224b51f747c9a3dfa8 (diff)
Merge branch 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull scheduler fixes from Ingo Molnar: "A couple of regression fixes mostly hitting virtualized setups, but also some bare metal systems" * 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: sched/x86/tsc: Initialize multiplier to 0 sched/clock: Fixup early initialization sched/preempt/x86: Fix voluntary preempt for x86 Revert "sched: Fix sleep time double accounting in enqueue entity"
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/preempt.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/preempt.h b/include/linux/preempt.h
index 59749fc48328..de83b4eb1642 100644
--- a/include/linux/preempt.h
+++ b/include/linux/preempt.h
@@ -134,7 +134,6 @@ do { \
134#undef preempt_check_resched 134#undef preempt_check_resched
135#endif 135#endif
136 136
137#ifdef CONFIG_PREEMPT
138#define preempt_set_need_resched() \ 137#define preempt_set_need_resched() \
139do { \ 138do { \
140 set_preempt_need_resched(); \ 139 set_preempt_need_resched(); \
@@ -144,10 +143,6 @@ do { \
144 if (tif_need_resched()) \ 143 if (tif_need_resched()) \
145 set_preempt_need_resched(); \ 144 set_preempt_need_resched(); \
146} while (0) 145} while (0)
147#else
148#define preempt_set_need_resched() do { } while (0)
149#define preempt_fold_need_resched() do { } while (0)
150#endif
151 146
152#ifdef CONFIG_PREEMPT_NOTIFIERS 147#ifdef CONFIG_PREEMPT_NOTIFIERS
153 148