diff options
| author | Steve Muckle <smuckle@codeaurora.org> | 2013-07-30 14:22:33 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 19:58:35 -0700 |
| commit | 387dcd0663acad3c360f592959c308803021afe6 (patch) | |
| tree | 87345dd9577979ab6c39d73bd941e45a705066a5 /kernel/sched/debug.c | |
| parent | 9f6eb26ae8f49eba60d5aaf10affdc28fd42608c (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
