1 /****************************************************************************
2 ****************************************************************************
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
10 ****************************************************************************
11 ****************************************************************************/
12 #ifndef __ASM_HARDIRQ_H
13 #define __ASM_HARDIRQ_H
15 #include <linux/cache.h>
16 #include <linux/threads.h>
20 unsigned int __softirq_pending;
21 unsigned int local_timer_irqs;
22 } ____cacheline_aligned irq_cpustat_t;
24 #include <linux/irq_cpustat.h>
27 #define HARDIRQ_BITS 9
29 #define HARDIRQ_BITS 8
32 #if 1 << HARDIRQ_BITS < NR_IRQS
33 #error HARDIRQ_BITS is too low!
36 #define __ARCH_IRQ_EXIT_IRQS_DISABLED 1