Commit 18e0d816 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] ppc64: Fix xmon compile warning

From: Joel Schopp <jschopp@austin.ibm.com>

Fix includes to avoid the compiler warning:
arch/ppc64/xmon/start.c: In function `xmon_readchar':
arch/ppc64/xmon/start.c:104: warning: implicit declaration of function
`xmon_printf'
parent 87fb698c
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#include <asm/processor.h> #include <asm/processor.h>
#include <asm/udbg.h> #include <asm/udbg.h>
#include <asm/system.h> #include <asm/system.h>
#include "nonstdio.h"
#ifdef CONFIG_MAGIC_SYSRQ #ifdef CONFIG_MAGIC_SYSRQ
...@@ -63,9 +64,8 @@ xmon_read_poll(void) ...@@ -63,9 +64,8 @@ xmon_read_poll(void)
return udbg_getc_poll(); return udbg_getc_poll();
} }
void *xmon_stdin; FILE *xmon_stdin;
void *xmon_stdout; FILE *xmon_stdout;
void *xmon_stderr;
int int
xmon_putc(int c, void *f) xmon_putc(int c, void *f)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment