xref: /openbmc/linux/arch/ia64/include/asm/native/irq.h (revision 22d55f02)
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /******************************************************************************
3  * arch/ia64/include/asm/native/irq.h
4  *
5  * Copyright (c) 2008 Isaku Yamahata <yamahata at valinux co jp>
6  *                    VA Linux Systems Japan K.K.
7  */
8 
9 #ifndef _ASM_IA64_NATIVE_IRQ_H
10 #define _ASM_IA64_NATIVE_IRQ_H
11 
12 #define NR_VECTORS	256
13 
14 #if (NR_VECTORS + 32 * NR_CPUS) < 1024
15 #define IA64_NATIVE_NR_IRQS (NR_VECTORS + 32 * NR_CPUS)
16 #else
17 #define IA64_NATIVE_NR_IRQS 1024
18 #endif
19 
20 #endif /* _ASM_IA64_NATIVE_IRQ_H */
21