diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-06-23 18:53:08 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-06-23 18:53:08 -0700 |
| commit | 8c05319ff168610fd6e3ce043bf5217a9ff7a4f3 (patch) | |
| tree | ff59a2c67a6204c20896f691676c62d1d8a95b32 /include/linux | |
| parent | 4320cbbd16791e039a04c390aa778a66c18220cd (diff) | |
[PATCH] make irqaction use a cpu mask
From: William Lee Irwin III <wli@holomorphy.com>
The following patch makes irqaction's ->mask a cpumask as it was intended
to be and wraps up the rest of the sweep. Only struct irqaction is
usefully greppable, so there may be some assignments to ->mask missing
still. This removes more code than it adds.
From: William Lee Irwin III <wli@holomorphy.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/interrupt.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h index 220f2a8602b4..565321b05213 100644 --- a/include/linux/interrupt.h +++ b/include/linux/interrupt.h @@ -7,6 +7,7 @@ #include <linux/linkage.h> #include <linux/bitops.h> #include <linux/preempt.h> +#include <linux/cpumask.h> #include <asm/atomic.h> #include <asm/hardirq.h> #include <asm/ptrace.h> @@ -35,7 +36,7 @@ typedef int irqreturn_t; struct irqaction { irqreturn_t (*handler)(int, void *, struct pt_regs *); unsigned long flags; - unsigned long mask; + cpumask_t mask; const char *name; void *dev_id; struct irqaction *next; |
