Blame view
include/asm-x86_64/hardirq.h
579 Bytes
1da177e4c
|
1 2 |
#ifndef __ASM_HARDIRQ_H #define __ASM_HARDIRQ_H |
1da177e4c
|
3 4 5 6 |
#include <linux/threads.h> #include <linux/irq.h> #include <asm/pda.h> #include <asm/apic.h> |
23d0b8b05
|
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
|
9 |
#define __ARCH_IRQ_STAT 1 |
3f74478b5
|
10 |
#define local_softirq_pending() read_pda(__softirq_pending) |
1da177e4c
|
11 |
|
3f74478b5
|
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
|
16 |
|
3777a9590
|
17 |
extern void ack_bad_irq(unsigned int irq); |
1da177e4c
|
18 |
#endif /* __ASM_HARDIRQ_H */ |