aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/hvc/hvc_xen.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/tty/hvc/hvc_xen.c')
-rw-r--r--drivers/tty/hvc/hvc_xen.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/tty/hvc/hvc_xen.c b/drivers/tty/hvc/hvc_xen.c
index afc7fc27aa52..3277f0eec4a7 100644
--- a/drivers/tty/hvc/hvc_xen.c
+++ b/drivers/tty/hvc/hvc_xen.c
@@ -219,7 +219,8 @@ static int xen_hvm_console_init(void)
219 if (r < 0) 219 if (r < 0)
220 goto err; 220 goto err;
221 info->evtchn = v; 221 info->evtchn = v;
222 hvm_get_parameter(HVM_PARAM_CONSOLE_PFN, &v); 222 v = 0;
223 r = hvm_get_parameter(HVM_PARAM_CONSOLE_PFN, &v);
223 if (r < 0) 224 if (r < 0)
224 goto err; 225 goto err;
225 mfn = v; 226 mfn = v;