[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:
parent
cdcd318fef
commit
41be31b7d6
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue