diff options
| author | Jeff Garzik <jgarzik@pobox.com> | 2005-09-14 08:19:08 -0400 |
|---|---|---|
| committer | Jeff Garzik <jgarzik@pobox.com> | 2005-09-14 08:19:08 -0400 |
| commit | 905ec87e93bc9e01b15c60035cd6a50c636cbaef (patch) | |
| tree | 46fd7618d6511611ffc19eb0dd4d7bc6b90a41c2 /include/linux/interrupt.h | |
| parent | 1d6ae775d7a948c9575658eb41184fd2e506c0df (diff) | |
| parent | 2f4ba45a75d6383b4a1201169a808ffea416ffa0 (diff) | |
Merge /spare/repo/linux-2.6/
Diffstat (limited to 'include/linux/interrupt.h')
| -rw-r--r-- | include/linux/interrupt.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h index d99e7aeb7d33..0a90205184b0 100644 --- a/include/linux/interrupt.h +++ b/include/linux/interrupt.h | |||
| @@ -57,6 +57,11 @@ extern void disable_irq(unsigned int irq); | |||
| 57 | extern void enable_irq(unsigned int irq); | 57 | extern void enable_irq(unsigned int irq); |
| 58 | #endif | 58 | #endif |
| 59 | 59 | ||
| 60 | #ifndef __ARCH_SET_SOFTIRQ_PENDING | ||
| 61 | #define set_softirq_pending(x) (local_softirq_pending() = (x)) | ||
| 62 | #define or_softirq_pending(x) (local_softirq_pending() |= (x)) | ||
| 63 | #endif | ||
| 64 | |||
| 60 | /* | 65 | /* |
| 61 | * Temporary defines for UP kernels, until all code gets fixed. | 66 | * Temporary defines for UP kernels, until all code gets fixed. |
| 62 | */ | 67 | */ |
| @@ -123,7 +128,7 @@ struct softirq_action | |||
| 123 | asmlinkage void do_softirq(void); | 128 | asmlinkage void do_softirq(void); |
| 124 | extern void open_softirq(int nr, void (*action)(struct softirq_action*), void *data); | 129 | extern void open_softirq(int nr, void (*action)(struct softirq_action*), void *data); |
| 125 | extern void softirq_init(void); | 130 | extern void softirq_init(void); |
| 126 | #define __raise_softirq_irqoff(nr) do { local_softirq_pending() |= 1UL << (nr); } while (0) | 131 | #define __raise_softirq_irqoff(nr) do { or_softirq_pending(1UL << (nr)); } while (0) |
| 127 | extern void FASTCALL(raise_softirq_irqoff(unsigned int nr)); | 132 | extern void FASTCALL(raise_softirq_irqoff(unsigned int nr)); |
| 128 | extern void FASTCALL(raise_softirq(unsigned int nr)); | 133 | extern void FASTCALL(raise_softirq(unsigned int nr)); |
| 129 | 134 | ||
