summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/ugecon.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/boot/ugecon.c')
-rw-r--r--arch/powerpc/boot/ugecon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/boot/ugecon.c b/arch/powerpc/boot/ugecon.c
index 50609ea6ddf8..8f2a6b311534 100644
--- a/arch/powerpc/boot/ugecon.c
+++ b/arch/powerpc/boot/ugecon.c
@@ -86,7 +86,7 @@ static void ug_putc(char ch)
while (!ug_is_txfifo_ready() && count--)
barrier();
- if (count)
+ if (count >= 0)
ug_raw_putc(ch);
}