diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-08-19 20:49:48 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-16 16:52:05 +0200 |
commit | 0799e432acfda879eaeef9622426bfa1434f3786 (patch) | |
tree | bc9a1d07438c52df08ab1e283ccd0a191b5fe05d /include/asm-x86 | |
parent | 85c0f90978bf50596dbd23854648020f1f9b5bfd (diff) |
x86: use nr_irqs
also add first_free_entry and pin_map_size, which were NR_IRQS derived
constants.
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86')
-rw-r--r-- | include/asm-x86/irq.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-x86/irq.h b/include/asm-x86/irq.h index 1e5f2909c1d..2a130c44f5d 100644 --- a/include/asm-x86/irq.h +++ b/include/asm-x86/irq.h @@ -10,6 +10,9 @@ #include <asm/apicdef.h> #include <asm/irq_vectors.h> +extern int pin_map_size; +extern int first_free_entry; + static inline int irq_canonicalize(int irq) { return ((irq == 2) ? 9 : irq); |