]> git.karo-electronics.de Git - karo-tx-linux.git/commit
powerpc/pseries/hvconsole: Fix dropped console output
authorAnton Blanchard <anton@samba.org>
Tue, 5 Jul 2011 21:51:36 +0000 (21:51 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 8 Aug 2011 17:36:04 +0000 (10:36 -0700)
commitd01e9f4d71f74e7f6e188053384a3613bfb66343
tree56a603af68c2e1ec7188045fa702b785f25a216a
parent5d45c43ce89dd679ab224d1f97bc676b61d9b417
powerpc/pseries/hvconsole: Fix dropped console output

commit 51d33021425e1f905beb4208823146f2fb6517da upstream.

Return -EAGAIN when we get H_BUSY back from the hypervisor. This
makes the hvc console driver retry, avoiding dropped printks.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/powerpc/platforms/pseries/hvconsole.c