Blame view

include/asm-generic/hardirq.h 493 Bytes
aafe4dbed   Arnd Bergmann   asm-generic: add ...
1
2
3
4
5
  #ifndef __ASM_GENERIC_HARDIRQ_H
  #define __ASM_GENERIC_HARDIRQ_H
  
  #include <linux/cache.h>
  #include <linux/threads.h>
aafe4dbed   Arnd Bergmann   asm-generic: add ...
6
7
  
  typedef struct {
cc9b0b9be   Ralf Baechle   IRQ: Change __sof...
8
  	unsigned int __softirq_pending;
aafe4dbed   Arnd Bergmann   asm-generic: add ...
9
10
11
  } ____cacheline_aligned irq_cpustat_t;
  
  #include <linux/irq_cpustat.h>	/* Standard mappings for irq_cpustat_t above */
3b8fad3e2   Frederic Weisbecker   irq: Fix circular...
12
  #include <linux/irq.h>
aafe4dbed   Arnd Bergmann   asm-generic: add ...
13

aafe4dbed   Arnd Bergmann   asm-generic: add ...
14
15
16
17
18
19
20
21
22
  #ifndef ack_bad_irq
  static inline void ack_bad_irq(unsigned int irq)
  {
  	printk(KERN_CRIT "unexpected IRQ trap at vector %02x
  ", irq);
  }
  #endif
  
  #endif /* __ASM_GENERIC_HARDIRQ_H */