diff options
author | Anton Blanchard <anton@samba.org> | 2004-12-02 15:45:40 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-12-02 15:45:40 -0800 |
commit | 27efb93b87adcca05c8d84afe7f11770c4b6b843 (patch) | |
tree | 9f296713b6ac43657bdf2d7127403818553dd63a /kernel | |
parent | 024345b4e7e4717fd93ba34dcf14d6215a0b7e3c (diff) | |
download | history-27efb93b87adcca05c8d84afe7f11770c4b6b843.tar.gz |
[PATCH] Allow multiple cpus in irq affinity call
The generic irq affinity code limits us to a single cpu target regardless
of what the architecture supports. If required this should be done in the
architecture specific ->set_affinity call.
With this patch ppc64 is able to select all cpus affinity again.
Signed-off-by: Anton Blanchard <anton@samba.org>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/irq/proc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/irq/proc.c b/kernel/irq/proc.c index 2ddbe8404c9c09..f555f87cfca4c8 100644 --- a/kernel/irq/proc.c +++ b/kernel/irq/proc.c @@ -56,8 +56,7 @@ static int irq_affinity_write_proc(struct file *file, const char __user *buffer, return -EINVAL; irq_affinity[irq] = new_value; - irq_desc[irq].handler->set_affinity(irq, - cpumask_of_cpu(first_cpu(new_value))); + irq_desc[irq].handler->set_affinity(irq, new_value); return full_count; } |