From: Benjamin Herrenschmidt Date: Fri, 23 May 2014 09:41:06 +0000 (+1000) Subject: tty/hvc/hvc_console: Fix wakeup of HVC thread on hvc_kick() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~35^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15a2743193b099f82657ca315dd2e1091be6c1d3;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed