summaryrefslogtreecommitdiffstats
path: root/arch/ppc64/xmon/start.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ppc64/xmon/start.c')
-rw-r--r--arch/ppc64/xmon/start.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/ppc64/xmon/start.c b/arch/ppc64/xmon/start.c
index 93bf8cb0a76..e50c158191e 100644
--- a/arch/ppc64/xmon/start.c
+++ b/arch/ppc64/xmon/start.c
@@ -61,8 +61,8 @@ xmon_read(void *handle, void *ptr, int nb)
int
xmon_read_poll(void)
{
- if (ppc_md.udbg_getc_poll)
- return ppc_md.udbg_getc_poll();
+ if (udbg_getc_poll)
+ return udbg_getc_poll();
return -1;
}