aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/include/asm/irq.h
diff options
context:
space:
mode:
authorErel Geron <[email protected]>2019-09-11 12:51:20 +0000
committerRichard Weinberger <[email protected]>2019-09-15 19:37:15 +0000
commit5d38f324993f49d1226ec81efe045834b46cd85a (patch)
treec5f412c7bbffa5d9778b13f37563805e69d5bfe6 /arch/um/include/asm/irq.h
parentum: Use real DMA barriers (diff)
downloadkernel-5d38f324993f49d1226ec81efe045834b46cd85a.tar.gz
kernel-5d38f324993f49d1226ec81efe045834b46cd85a.zip
um: drivers: Add virtio vhost-user driver
This module allows virtio devices to be used over a vhost-user socket. Signed-off-by: Erel Geron <[email protected]> Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: Richard Weinberger <[email protected]>
Diffstat (limited to 'arch/um/include/asm/irq.h')
-rw-r--r--arch/um/include/asm/irq.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/um/include/asm/irq.h b/arch/um/include/asm/irq.h
index ce7a78c3bcf2..42c6205e2dc4 100644
--- a/arch/um/include/asm/irq.h
+++ b/arch/um/include/asm/irq.h
@@ -17,17 +17,18 @@
#define TELNETD_IRQ 12
#define XTERM_IRQ 13
#define RANDOM_IRQ 14
+#define VIRTIO_IRQ 15
#ifdef CONFIG_UML_NET_VECTOR
-#define VECTOR_BASE_IRQ 15
+#define VECTOR_BASE_IRQ (VIRTIO_IRQ + 1)
#define VECTOR_IRQ_SPACE 8
#define LAST_IRQ (VECTOR_IRQ_SPACE + VECTOR_BASE_IRQ - 1)
#else
-#define LAST_IRQ RANDOM_IRQ
+#define LAST_IRQ VIRTIO_IRQ
#endif