]> git.karo-electronics.de Git - karo-tx-linux.git/commit
pmac_zilog,kdb: Fix console poll hook to return instead of loop
authorJason Wessel <jason.wessel@windriver.com>
Fri, 10 Aug 2012 17:23:15 +0000 (12:23 -0500)
committerJason Wessel <jason.wessel@windriver.com>
Sun, 12 Aug 2012 12:02:16 +0000 (07:02 -0500)
commit4a1d7e961fe55c8bec764e306f0220304c0fd10c
tree55c46ad48a69fa89a2beb8ce79615a02ef5e8f37
parent18c7fefb91c0fbfd1d9b69b7cd55317bc7d50284
pmac_zilog,kdb: Fix console poll hook to return instead of loop

kdb <-> kgdb transitioning does not work properly with this UART
driver because the get character routine loops indefinitely as opposed
to returning NO_POLL_CHAR per the expectation of the KDB I/O driver
API.

The symptom is a kernel hang when trying to switch debug modes.

Cc: Alan Cox <alan@linux.intel.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
drivers/tty/serial/pmac_zilog.c