From: Jason Wessel Date: Sun, 12 Aug 2012 12:16:43 +0000 (-0500) Subject: pmac_zilog,kdb: Fix console poll hook to return instead of loop X-Git-Tag: v3.2.29~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4422e6fe13eff3fc4337dedc76f6830e1a3b4e1a;p=pandora-kernel.git pmac_zilog,kdb: Fix console poll hook to return instead of loop commit 38f8eefccf3a23c4058a570fa2938a4f553cf8e0 upstream. 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 Signed-off-by: Jason Wessel Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed