diff options
Diffstat (limited to 'arch/um/include/asm/irq.h')
-rw-r--r-- | arch/um/include/asm/irq.h | 5 |
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 @@ | |||
17 | #define TELNETD_IRQ 12 | 17 | #define TELNETD_IRQ 12 |
18 | #define XTERM_IRQ 13 | 18 | #define XTERM_IRQ 13 |
19 | #define RANDOM_IRQ 14 | 19 | #define RANDOM_IRQ 14 |
20 | #define VIRTIO_IRQ 15 | ||
20 | 21 | ||
21 | #ifdef CONFIG_UML_NET_VECTOR | 22 | #ifdef CONFIG_UML_NET_VECTOR |
22 | 23 | ||
23 | #define VECTOR_BASE_IRQ 15 | 24 | #define VECTOR_BASE_IRQ (VIRTIO_IRQ + 1) |
24 | #define VECTOR_IRQ_SPACE 8 | 25 | #define VECTOR_IRQ_SPACE 8 |
25 | 26 | ||
26 | #define LAST_IRQ (VECTOR_IRQ_SPACE + VECTOR_BASE_IRQ - 1) | 27 | #define LAST_IRQ (VECTOR_IRQ_SPACE + VECTOR_BASE_IRQ - 1) |
27 | 28 | ||
28 | #else | 29 | #else |
29 | 30 | ||
30 | #define LAST_IRQ RANDOM_IRQ | 31 | #define LAST_IRQ VIRTIO_IRQ |
31 | 32 | ||
32 | #endif | 33 | #endif |
33 | 34 | ||