summaryrefslogtreecommitdiff
path: root/kernel/sched/stop_task.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2020-10-20 17:46:55 +0300
committerPeter Zijlstra <peterz@infradead.org>2020-10-29 13:00:31 +0300
commit345a957fcc95630bf5535d7668a59ed983eb49a7 (patch)
treebbbd19bc6999cfbdcb939d1e59f1b3d04cf1848a /kernel/sched/stop_task.c
parent25595eb6aaa9fbb31330f1e0b400642694bc6574 (diff)
downloadlinux-345a957fcc95630bf5535d7668a59ed983eb49a7.tar.xz
sched: Reenable interrupts in do_sched_yield()
do_sched_yield() invokes schedule() with interrupts disabled which is not allowed. This goes back to the pre git era to commit a6efb709806c ("[PATCH] irqlock patch 2.5.27-H6") in the history tree. Reenable interrupts and remove the misleading comment which "explains" it. Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/87r1pt7y5c.fsf@nanos.tec.linutronix.de
Diffstat (limited to 'kernel/sched/stop_task.c')
0 files changed, 0 insertions, 0 deletions