xref: /openbmc/linux/arch/ia64/include/asm/native/irq.h (revision 1a59d1b8)
11a59d1b8SThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-or-later */
27f30491cSTony Luck /******************************************************************************
37f30491cSTony Luck  * arch/ia64/include/asm/native/irq.h
47f30491cSTony Luck  *
57f30491cSTony Luck  * Copyright (c) 2008 Isaku Yamahata <yamahata at valinux co jp>
67f30491cSTony Luck  *                    VA Linux Systems Japan K.K.
77f30491cSTony Luck  */
87f30491cSTony Luck 
97f30491cSTony Luck #ifndef _ASM_IA64_NATIVE_IRQ_H
107f30491cSTony Luck #define _ASM_IA64_NATIVE_IRQ_H
117f30491cSTony Luck 
127f30491cSTony Luck #define NR_VECTORS	256
137f30491cSTony Luck 
147f30491cSTony Luck #if (NR_VECTORS + 32 * NR_CPUS) < 1024
157f30491cSTony Luck #define IA64_NATIVE_NR_IRQS (NR_VECTORS + 32 * NR_CPUS)
167f30491cSTony Luck #else
177f30491cSTony Luck #define IA64_NATIVE_NR_IRQS 1024
187f30491cSTony Luck #endif
197f30491cSTony Luck 
207f30491cSTony Luck #endif /* _ASM_IA64_NATIVE_IRQ_H */
21