Home | History | Annotate | Download | only in asm
      1 /****************************************************************************
      2  ****************************************************************************
      3  ***
      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.
      9  ***
     10  ****************************************************************************
     11  ****************************************************************************/
     12 #ifndef __ASM_HARDIRQ_H
     13 #define __ASM_HARDIRQ_H
     14 
     15 #include <linux/threads.h>
     16 #include <linux/irq.h>
     17 
     18 typedef struct {
     19  unsigned int __softirq_pending;
     20  unsigned long idle_timestamp;
     21  unsigned int __nmi_count;
     22  unsigned int apic_timer_irqs;
     23  unsigned int irq0_irqs;
     24  unsigned int irq_resched_count;
     25  unsigned int irq_call_count;
     26  unsigned int irq_tlb_count;
     27  unsigned int irq_thermal_count;
     28  unsigned int irq_spurious_count;
     29 } ____cacheline_aligned irq_cpustat_t;
     30 
     31 #define __ARCH_IRQ_STAT
     32 #define __IRQ_STAT(cpu, member) (per_cpu(irq_stat, cpu).member)
     33 
     34 #include <linux/irq_cpustat.h>
     35 
     36 #endif
     37