aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/interrupt.h
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-08-19 23:49:47 -0400
committerIngo Molnar <mingo@elte.hu>2008-10-16 10:52:05 -0400
commit85c0f90978bf50596dbd23854648020f1f9b5bfd (patch)
treef66c598bb37b925dd6c74e4ce1fb06345c742c01 /include/linux/interrupt.h
parent6da55c3e8da88e8a7cb6452160776ad6706798ad (diff)
irq: introduce nr_irqs
at this point nr_irqs is equal NR_IRQS convert a few easy users from NR_IRQS to dynamic nr_irqs. v2: according to Eric, we need to take care of arch without generic_hardirqs Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/interrupt.h')
-rw-r--r--include/linux/interrupt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h
index 58ff4e74b2f3..511803853a5b 100644
--- a/include/linux/interrupt.h
+++ b/include/linux/interrupt.h
@@ -15,6 +15,8 @@
15#include <asm/ptrace.h> 15#include <asm/ptrace.h>
16#include <asm/system.h> 16#include <asm/system.h>
17 17
18extern int nr_irqs;
19
18/* 20/*
19 * These correspond to the IORESOURCE_IRQ_* defines in 21 * These correspond to the IORESOURCE_IRQ_* defines in
20 * linux/ioport.h to select the interrupt line behaviour. When 22 * linux/ioport.h to select the interrupt line behaviour. When