diff options
author | Peter Zijlstra <[email protected]> | 2014-01-22 11:24:35 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2014-01-23 14:48:35 +0100 |
commit | 215393bc1fab3d61a5a296838bdffce22f27ffda (patch) | |
tree | 8e2c937a90c53d2e52fe16f380e8eeaaceef2bcd /net/unix | |
parent | 9390675af0835ae1d654d33bfcf16096028550ad (diff) |
sched/preempt/x86: Fix voluntary preempt for x86
The #ifdef CONFIG_PREEMPT is both not needed and wrong.
Its not required because asm/preempt.h should provide
{set,clear}_preempt_need_resched() regardless and its wrong because
for voluntary preempt we still rely on PREEMPT_NEED_RESCHED.
Reported-and-Tested-by: Markus Trippelsdorf <[email protected]>
Fixes: 8cb75e0c4ec9 ("sched/preempt: Fix up missed PREEMPT_NEED_RESCHED folding")
Signed-off-by: Peter Zijlstra <[email protected]>
Cc: Dipankar Sarma <[email protected]>
Cc: "Paul E. McKenney" <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/unix')
0 files changed, 0 insertions, 0 deletions