projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdcd318
)
[PATCH] ppc64: dont bypass ppc_md.udbg* functions
author
Milton Miller
<miltonm@bga.com>
Tue, 6 Sep 2005 01:54:13 +0000
(11:54 +1000)
committer
Paul Mackerras
<paulus@samba.org>
Tue, 6 Sep 2005 06:07:35 +0000
(16:07 +1000)
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>
arch/ppc64/xmon/start.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/ppc64/xmon/start.c
b/arch/ppc64/xmon/start.c
index f86b584acd76d16793e55be30848319d3e7066de..93bf8cb0a76266c582fe5e5925803eb988a4557a 100644
(file)
--- 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;