Merge tag 'locking-urgent-2020-08-15' of git://git.kernel.org/pub/scm/linux/kernel...
[linux/fpc-iii.git] / arch / um / include / asm / irq.h
blob42c6205e2dc43d725af10a5e0d90614aaaea62d7
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __UM_IRQ_H
3 #define __UM_IRQ_H
5 #define TIMER_IRQ 0
6 #define UMN_IRQ 1
7 #define CONSOLE_IRQ 2
8 #define CONSOLE_WRITE_IRQ 3
9 #define UBD_IRQ 4
10 #define UM_ETH_IRQ 5
11 #define SSL_IRQ 6
12 #define SSL_WRITE_IRQ 7
13 #define ACCEPT_IRQ 8
14 #define MCONSOLE_IRQ 9
15 #define WINCH_IRQ 10
16 #define SIGIO_WRITE_IRQ 11
17 #define TELNETD_IRQ 12
18 #define XTERM_IRQ 13
19 #define RANDOM_IRQ 14
20 #define VIRTIO_IRQ 15
22 #ifdef CONFIG_UML_NET_VECTOR
24 #define VECTOR_BASE_IRQ (VIRTIO_IRQ + 1)
25 #define VECTOR_IRQ_SPACE 8
27 #define LAST_IRQ (VECTOR_IRQ_SPACE + VECTOR_BASE_IRQ - 1)
29 #else
31 #define LAST_IRQ VIRTIO_IRQ
33 #endif
35 #define NR_IRQS (LAST_IRQ + 1)
37 #endif