]> Pileus Git - ~andy/linux/blobdiff - arch/x86/include/asm/hardirq_32.h
Merge branch 'core/percpu' into perfcounters/core
[~andy/linux] / arch / x86 / include / asm / hardirq_32.h
index 7a07897a78887f59c6bbccbbdbe1f82669f37bba..7838276bfe512f1d2d8a937d93f9fa05e6fca25b 100644 (file)
@@ -20,6 +20,9 @@ typedef struct {
 
 DECLARE_PER_CPU(irq_cpustat_t, irq_stat);
 
+/* We can have at most NR_VECTORS irqs routed to a cpu at a time */
+#define MAX_HARDIRQS_PER_CPU NR_VECTORS
+
 #define __ARCH_IRQ_STAT
 #define __IRQ_STAT(cpu, member) (per_cpu(irq_stat, cpu).member)