summaryrefslogtreecommitdiffstats
path: root/drivers/tty/ipwireless/tty.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-05-23 19:41:06 +1000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-28 13:33:18 -0700
commit15a2743193b099f82657ca315dd2e1091be6c1d3 (patch)
tree3f60a997cf6f16460ff200e351fa3ae223a680ed /drivers/tty/ipwireless/tty.c
parent8e25f8ce0e3227f20090f1b89b908d8146304413 (diff)
downloadblackbird-obmc-linux-15a2743193b099f82657ca315dd2e1091be6c1d3.tar.gz
blackbird-obmc-linux-15a2743193b099f82657ca315dd2e1091be6c1d3.zip
tty/hvc/hvc_console: Fix wakeup of HVC thread on hvc_kick()
Some backends call hvc_kick() to wakeup the HVC thread from its slumber upon incoming characters. This however doesn't work properly because it uses msleep_interruptible() which is mostly immune to wake_up_process(). It will basically go back to sleep until the timeout is expired (only signals can really wake it). Replace it with a simple shedule_timeout_interruptible() instead, which may wakeup earlier every now and then but we really don't care in this case. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/ipwireless/tty.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud