summaryrefslogtreecommitdiff
path: root/kernel/sched/debug.c
diff options
context:
space:
mode:
authorSteve Muckle <smuckle@codeaurora.org>2013-07-30 14:22:33 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 19:58:35 -0700
commit387dcd0663acad3c360f592959c308803021afe6 (patch)
tree87345dd9577979ab6c39d73bd941e45a705066a5 /kernel/sched/debug.c
parent9f6eb26ae8f49eba60d5aaf10affdc28fd42608c (diff)
sched: change WARN_ON_ONCE to printk_deferred() in try_to_wake_up_local()
try_to_wake_up_local() is called with the rq lock held. Printing to console in this context can result in a deadlock if klogd needs to be woken up. Print to the kernel log buffer via printk_sched() instead which avoids the wakeup. Change-Id: Ia07baea3cb7e0b158545207fdbbb866203256d3c Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org>
Diffstat (limited to 'kernel/sched/debug.c')
0 files changed, 0 insertions, 0 deletions