summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/ugecon.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-12-24 07:16:02 +0100
committerPaul Mundt <lethal@linux-sh.org>2009-12-24 07:16:02 +0100
commitf34548cb735b7a80bbbb0bdd09ad4c2173ba92d5 (patch)
treee53c9e39b3149221779c10595bc59fa02de4f45f /arch/powerpc/boot/ugecon.c
parentsh: Ensure all PG_dcache_dirty pages are written back. (diff)
parentserial: sh-sci: Convert tremaining ctrl_xxx I/O routines to __raw_xxx. (diff)
downloadlinux-f34548cb735b7a80bbbb0bdd09ad4c2173ba92d5.tar.xz
linux-f34548cb735b7a80bbbb0bdd09ad4c2173ba92d5.zip
Merge branch 'sh/g3-prep' into sh/for-2.6.33
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);
}