Blame view

include/asm-x86_64/hardirq.h 579 Bytes
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1
2
  #ifndef __ASM_HARDIRQ_H
  #define __ASM_HARDIRQ_H
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
3
4
5
6
  #include <linux/threads.h>
  #include <linux/irq.h>
  #include <asm/pda.h>
  #include <asm/apic.h>
23d0b8b05   Eric W. Biederman   [PATCH] genirq: i...
7
8
  /* We can have at most NR_VECTORS irqs routed to a cpu at a time */
  #define MAX_HARDIRQS_PER_CPU NR_VECTORS
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
9
  #define __ARCH_IRQ_STAT 1
3f74478b5   Andi Kleen   [PATCH] x86-64: S...
10
  #define local_softirq_pending() read_pda(__softirq_pending)
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
11

3f74478b5   Andi Kleen   [PATCH] x86-64: S...
12
13
14
15
  #define __ARCH_SET_SOFTIRQ_PENDING 1
  
  #define set_softirq_pending(x) write_pda(__softirq_pending, (x))
  #define or_softirq_pending(x)  or_pda(__softirq_pending, (x))
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
16

3777a9590   Andi Kleen   [PATCH] i386/x86-...
17
  extern void ack_bad_irq(unsigned int irq);
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
18
  #endif /* __ASM_HARDIRQ_H */