Commit | Line | Data |
---|---|---|
1a59d1b8 | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
213060a4 | 2 | /****************************************************************************** |
7f30491c | 3 | * arch/ia64/include/asm/native/irq.h |
213060a4 IY |
4 | * |
5 | * Copyright (c) 2008 Isaku Yamahata <yamahata at valinux co jp> | |
6 | * VA Linux Systems Japan K.K. | |
213060a4 IY |
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 */ |