diff options
author | Milton Miller <miltonm@bga.com> | 2005-09-06 05:54:13 +0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-09-06 10:07:35 +0400 |
commit | 41be31b7d61c661a63bb1d5c8be3c39f124beabd (patch) | |
tree | d3c9232bde8ac7aa83e20a36265847cf4b9716a3 | |
parent | cdcd318fefab8c8655fdc3b085ccc23848a93001 (diff) | |
download | linux-41be31b7d61c661a63bb1d5c8be3c39f124beabd.tar.xz |
[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>
-rw-r--r-- | arch/ppc64/xmon/start.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/ppc64/xmon/start.c b/arch/ppc64/xmon/start.c index f86b584acd76..93bf8cb0a762 100644 --- a/arch/ppc64/xmon/start.c +++ b/arch/ppc64/xmon/start.c @@ -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; |