| #include <linux/threads.h> |
| unsigned int __softirq_pending; |
| #ifdef CONFIG_LOCAL_TIMERS |
| unsigned int local_timer_irqs; |
| unsigned int ipi_irqs[NR_IPI]; |
| } ____cacheline_aligned irq_cpustat_t; |
| #include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */ |
| #define __inc_irq_stat(cpu, member) __IRQ_STAT(cpu, member)++ |
| #define __get_irq_stat(cpu, member) __IRQ_STAT(cpu, member) |
| u64 smp_irq_stat_cpu(unsigned int cpu); |
| #define smp_irq_stat_cpu(cpu) 0 |
| #define arch_irq_stat_cpu smp_irq_stat_cpu |
| * The hardirq mask has to be large enough to have space |
| * for potentially all IRQ sources in the system nesting |
| #if (1 << HARDIRQ_BITS) < NR_IRQS |
| # error HARDIRQ_BITS is too low! |
| #define __ARCH_IRQ_EXIT_IRQS_DISABLED 1 |
| #endif /* __ASM_HARDIRQ_H */ |