X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Fasm-x86_64%2Fhardirq.h;h=95d5e090ed89eb48d80a6c8b679db973c059d701;hb=185b1aa122f87052d9154bb74990bc785372a750;hp=64a65ce2f41fe690033bff1f8ce0d9314b5a9a82;hpb=c71bd6944eb1458b7887af1783101f5a46140c40;p=powerpc.git diff --git a/include/asm-x86_64/hardirq.h b/include/asm-x86_64/hardirq.h index 64a65ce2f4..95d5e090ed 100644 --- a/include/asm-x86_64/hardirq.h +++ b/include/asm-x86_64/hardirq.h @@ -6,6 +6,9 @@ #include #include +/* 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)