mirror of
https://github.com/torvalds/linux.git
synced 2024-11-07 12:41:55 +00:00
[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
@ -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 New Issue
Block a user