aboutsummaryrefslogtreecommitdiff
path: root/drivers/char/viocons.c
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2006-01-11 11:54:08 +1100
committerPaul Mackerras <paulus@samba.org>2006-01-11 14:48:13 +1100
commitbf6a7112bda99aadd6675526423a96be6b356a3d (patch)
treee3a0e144ac933e7f35d6fa5f95bc0e0fb0ba6309 /drivers/char/viocons.c
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/viocons.c')
-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 cb82ebf4cb0..bead38a4a68 100644
--- a/drivers/char/viocons.c
+++ b/drivers/char/viocons.c
@@ -131,7 +131,7 @@ static void initDataEvent(struct viocharlpevent *viochar, HvLpIndex lp);
static struct tty_driver *viotty_driver;
-void hvlog(char *fmt, ...)
+static void hvlog(char *fmt, ...)
{
int i;
unsigned long flags;
@@ -147,7 +147,7 @@ void hvlog(char *fmt, ...)
spin_unlock_irqrestore(&consoleloglock, flags);
}
-void hvlogOutput(const char *buf, int count)
+static void hvlogOutput(const char *buf, int count)
{
unsigned long flags;
int begin;