Blame view

arch/m32r/include/asm/hardirq.h 470 Bytes
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1
2
3
  #ifdef __KERNEL__
  #ifndef __ASM_HARDIRQ_H
  #define __ASM_HARDIRQ_H
ef187fd79   Christoph Hellwig   m32r: convert to ...
4
  #include <asm/irq.h>
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
  
  #if NR_IRQS > 256
  #define HARDIRQ_BITS	9
  #else
  #define HARDIRQ_BITS	8
  #endif
  
  /*
   * The hardirq mask has to be large enough to have
   * space for potentially all IRQ sources in the system
   * nesting on a single CPU:
   */
  #if (1 << HARDIRQ_BITS) < NR_IRQS
  # error HARDIRQ_BITS is too low!
  #endif
ef187fd79   Christoph Hellwig   m32r: convert to ...
20
  #include <asm-generic/hardirq.h>
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
21
22
23
  
  #endif /* __ASM_HARDIRQ_H */
  #endif /* __KERNEL__ */