Skip to content

Commit

Permalink
[PATCH] ppc64: dont bypass ppc_md.udbg* functions
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Milton Miller authored and Paul Mackerras committed Sep 6, 2005
1 parent cdcd318 commit 41be31b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion arch/ppc64/xmon/start.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 41be31b

Please sign in to comment.