diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2008-12-31 23:42:26 (GMT) |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2008-12-31 23:42:26 (GMT) |
commit | d036e67b40f52bdd95392390108defbac7e53837 (patch) | |
tree | 4a00537671036c955c98891af9f4729332b35c50 /include | |
parent | 6b954823c24f04ed026a8517f6bab5abda279db8 (diff) | |
download | linux-d036e67b40f52bdd95392390108defbac7e53837.tar.xz |
cpumask: convert kernel/irq
Impact: Reduce stack usage, use new cpumask API. ALPHA mod!
Main change is that irq_default_affinity becomes a cpumask_var_t, so
treat it as a pointer (this effects alpha).
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/interrupt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h index dfaee6b..91f1ef8 100644 --- a/include/linux/interrupt.h +++ b/include/linux/interrupt.h @@ -109,7 +109,7 @@ extern void enable_irq(unsigned int irq); #if defined(CONFIG_SMP) && defined(CONFIG_GENERIC_HARDIRQS) -extern cpumask_t irq_default_affinity; +extern cpumask_var_t irq_default_affinity; extern int irq_set_affinity(unsigned int irq, const struct cpumask *cpumask); extern int irq_can_set_affinity(unsigned int irq); |