X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Fasm-x86_64%2Firq.h;h=9db5a1b4f7b11c4602fbc2f208b1c655ac087ebe;hb=70524490ee2ea1bbf6cee6c106597b3ac25a3fc2;hp=4482657777bbdbe2a576c3d073ac39eab113dada;hpb=33ac02aa4cef417871e128ab4a6565e751e5f3b2;p=powerpc.git diff --git a/include/asm-x86_64/irq.h b/include/asm-x86_64/irq.h index 4482657777..9db5a1b4f7 100644 --- a/include/asm-x86_64/irq.h +++ b/include/asm-x86_64/irq.h @@ -36,7 +36,7 @@ #define NR_IRQ_VECTORS NR_IRQS #else #define NR_IRQS 224 -#define NR_IRQ_VECTORS 1024 +#define NR_IRQ_VECTORS (32 * NR_CPUS) #endif static __inline__ int irq_canonicalize(int irq) @@ -48,10 +48,6 @@ static __inline__ int irq_canonicalize(int irq) #define ARCH_HAS_NMI_WATCHDOG /* See include/linux/nmi.h */ #endif -struct irqaction; -struct pt_regs; -int handle_IRQ_event(unsigned int, struct pt_regs *, struct irqaction *); - #ifdef CONFIG_HOTPLUG_CPU #include extern void fixup_irqs(cpumask_t map);