blob: 882de50937e903ce16afd08156f15057b65daf31 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __ASM_IRQ_H
#define __ASM_IRQ_H
#ifndef __ASSEMBLER__
#include <asm-generic/irq.h>
/* Platforms with multiple SR-IOV capable PCI devices will
* need large number of MSIX vectors, hence keep this number
* fairly high.
*/
#ifdef CONFIG_PCI_MSI
#undef NR_IRQS
#define NR_IRQS 65536
#endif
struct pt_regs;
static inline int nr_legacy_irqs(void)
{
return 0;
}
#endif /* !__ASSEMBLER__ */
#endif
|