From 4d404edce30f911004850d472e05a31efd751662 Mon Sep 17 00:00:00 2001 From: Ishizaki Kou Date: Wed, 18 Jul 2007 19:26:40 +1000 Subject: [POWERPC] fix showing xmon help In some configuration, xmon help string is larger than xmon_printf buffer. We need not to use printf. This patch adds xmon_puts and change to use it to show help string. Signed-off-by: Kou Ishizaki Signed-off-by: Paul Mackerras --- arch/powerpc/xmon/nonstdio.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'arch/powerpc/xmon/nonstdio.c') diff --git a/arch/powerpc/xmon/nonstdio.c b/arch/powerpc/xmon/nonstdio.c index 78765833f4c..bfac84fbe78 100644 --- a/arch/powerpc/xmon/nonstdio.c +++ b/arch/powerpc/xmon/nonstdio.c @@ -132,3 +132,8 @@ void xmon_printf(const char *format, ...) va_end(args); xmon_write(xmon_outbuf, n); } + +void xmon_puts(const char *str) +{ + xmon_write(str, strlen(str)); +} -- cgit v1.2.3