[PATCH] ppc64: dont bypass ppc_md.udbg* functions

udbg_getc_poll is a ppc_md function.   don't call directly into udbg.c

Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
Milton Miller 2005-09-06 11:54:13 +10:00 committed by Paul Mackerras
parent cdcd318fef
commit 41be31b7d6

View File

@ -61,7 +61,9 @@ xmon_read(void *handle, void *ptr, int nb)
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;