Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 41be31b7 authored by Milton Miller's avatar Milton Miller Committed by Paul Mackerras
Browse files

[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: default avatarMilton Miller <miltonm@bga.com>
Signed-off-by: default avatarAnton Blanchard <anton@samba.org>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent cdcd318f
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -61,7 +61,9 @@ xmon_read(void *handle, void *ptr, int nb)
int
int
xmon_read_poll(void)
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;
FILE *xmon_stdin;