| #include <linux/config.h> |
| #include <linux/threads.h> |
| unsigned int __softirq_pending; |
| } ____cacheline_aligned irq_cpustat_t; |
| #include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */ |
| * 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! |
| extern asmlinkage void __do_softirq(void); |
| preempt_count() -= IRQ_EXIT_OFFSET; \ |
| if (!in_interrupt() && local_softirq_pending()) \ |
| preempt_enable_no_resched(); \ |
| #endif /* __ASM_HARDIRQ_H */ |