summaryrefslogtreecommitdiffstats
path: root/drivers/xen
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2010-09-02 16:17:06 +0100
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>2010-10-22 21:26:01 +0100
commit4fe7d5a708a955b35e3fdc4dea3e0b7a6ae2eb06 (patch)
tree43fff2734caa2efa8d7adc8c3439d4c282f29081 /drivers/xen
parent4ec5387cc36c6472a2ff2c82e9865abe8cab96c2 (diff)
downloadlinux-stable-4fe7d5a708a955b35e3fdc4dea3e0b7a6ae2eb06.tar.gz
linux-stable-4fe7d5a708a955b35e3fdc4dea3e0b7a6ae2eb06.tar.bz2
linux-stable-4fe7d5a708a955b35e3fdc4dea3e0b7a6ae2eb06.zip
xen: make hvc_xen console work for dom0.
Use the console hypercalls for dom0 console. [ Impact: Add Xen dom0 console ] Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/xen')
-rw-r--r--drivers/xen/events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/xen/events.c b/drivers/xen/events.c
index a7d9555e664d..93e98ffe71ae 100644
--- a/drivers/xen/events.c
+++ b/drivers/xen/events.c
@@ -839,7 +839,7 @@ static int bind_ipi_to_irq(unsigned int ipi, unsigned int cpu)
}
-static int bind_virq_to_irq(unsigned int virq, unsigned int cpu)
+int bind_virq_to_irq(unsigned int virq, unsigned int cpu)
{
struct evtchn_bind_virq bind_virq;
int evtchn, irq;