aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2006-01-10 19:54:08 -0500
committerPaul Mackerras <paulus@samba.org>2006-01-10 22:48:13 -0500
commitbf6a7112bda99aadd6675526423a96be6b356a3d (patch)
treee3a0e144ac933e7f35d6fa5f95bc0e0fb0ba6309 /drivers/char
parentf481f1edee77b3d623457685add1c6b507c25d6f (diff)
[PATCH] powerpc: Early debugging support for iSeries
Connect iSeries up to the standard early debugging infrastructure. To actually use this you need to enable the iSeries early debugging in setup_64.c. Then after the messages are logged hit Ctrl-x Ctrl-x on your console to dump the Hypervisor console buffer. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/viocons.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/viocons.c b/drivers/char/viocons.c
index cb82ebf4cb07..bead38a4a68a 100644
--- a/drivers/char/viocons.c
+++ b/drivers/char/viocons.c
@@ -131,7 +131,7 @@ static void initDataEvent(struct viocharlpevent *viochar, HvLpIndex lp);
131 131
132static struct tty_driver *viotty_driver; 132static struct tty_driver *viotty_driver;
133 133
134void hvlog(char *fmt, ...) 134static void hvlog(char *fmt, ...)
135{ 135{
136 int i; 136 int i;
137 unsigned long flags; 137 unsigned long flags;
@@ -147,7 +147,7 @@ void hvlog(char *fmt, ...)
147 spin_unlock_irqrestore(&consoleloglock, flags); 147 spin_unlock_irqrestore(&consoleloglock, flags);
148} 148}
149 149
150void hvlogOutput(const char *buf, int count) 150static void hvlogOutput(const char *buf, int count)
151{ 151{
152 unsigned long flags; 152 unsigned long flags;
153 int begin; 153 int begin;