[PATCH] ppc64: dont bypass ppc_md.udbg* functions
Anton Blanchard
anton at samba.org
Tue Sep 6 11:54:13 EST 2005
From: Milton Miller <miltonm at bga.com>
udbg_getc_poll is a ppc_md function. don't call directly into udbg.c
Signed-off-by: Milton Miller <miltonm at bga.com>
Signed-off-by: Anton Blanchard <anton at samba.org>
Index: build/arch/ppc64/xmon/start.c
===================================================================
--- build.orig/arch/ppc64/xmon/start.c 2005-09-05 20:29:29.000000000 +1000
+++ build/arch/ppc64/xmon/start.c 2005-09-05 20:29:36.000000000 +1000
@@ -61,7 +61,9 @@
int
xmon_read_poll(void)
{
- return udbg_getc_poll();
+ if (ppc_md.udbg_getc_poll)
+ return ppc_md.udbg_getc_poll();
+ return -1;
}
FILE *xmon_stdin;
More information about the Linuxppc64-dev
mailing list