summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/xmon/nonstdio.h
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2012-10-09 06:20:32 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-11-15 02:59:46 +0100
commit33b5cd686649f56d40fa258a0881f6acdbd70134 (patch)
tree135a390386192ec1e6f49c88c86c4de83b85c5fd /arch/powerpc/xmon/nonstdio.h
parentpowerpc/xmon: Make xmon_getchar() static (diff)
downloadlinux-33b5cd686649f56d40fa258a0881f6acdbd70134.tar.xz
linux-33b5cd686649f56d40fa258a0881f6acdbd70134.zip
powerpc/xmon: Merge start.c into nonstdio.c
The routines in start.c are only ever called from nonstdio.c, so if we move them in there they can become static which is nice. I suspect the idea behind the separation was that start.c could be replaced in order to build xmon in userland. If anyone still cares about doing that we could handle that with an ifdef or two. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/xmon/nonstdio.h')
-rw-r--r--arch/powerpc/xmon/nonstdio.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/xmon/nonstdio.h b/arch/powerpc/xmon/nonstdio.h
index 321284f4281d..18a51ded4ffd 100644
--- a/arch/powerpc/xmon/nonstdio.h
+++ b/arch/powerpc/xmon/nonstdio.h
@@ -7,5 +7,3 @@ extern int xmon_putchar(int c);
extern void xmon_puts(const char *);
extern char *xmon_gets(char *, int);
extern void xmon_printf(const char *, ...);
-extern int xmon_write(const void *ptr, int nb);
-extern int xmon_readchar(void);