]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-x86_64/hardirq.h
[MIPS] Fix do_default_vi to use get_irq_regs to get the irq register ptr.
[linux-2.6-omap-h63xx.git] / include / asm-x86_64 / hardirq.h
index 64a65ce2f41fe690033bff1f8ce0d9314b5a9a82..95d5e090ed89eb48d80a6c8b679db973c059d701 100644 (file)
@@ -6,6 +6,9 @@
 #include <asm/pda.h>
 #include <asm/apic.h>
 
+/* 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 1
 
 #define local_softirq_pending() read_pda(__softirq_pending)