summaryrefslogtreecommitdiffstats
path: root/drivers/xen
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2010-09-02 17:17:06 +0200
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>2010-10-22 22:26:01 +0200
commit4fe7d5a708a955b35e3fdc4dea3e0b7a6ae2eb06 (patch)
tree43fff2734caa2efa8d7adc8c3439d4c282f29081 /drivers/xen
parentxen: add the direct mapping area for ISA bus access (diff)
downloadlinux-4fe7d5a708a955b35e3fdc4dea3e0b7a6ae2eb06.tar.xz
linux-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;