lkml.org 
[lkml]   [2004]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] Allow multiple cpus in irq affinity call

Hi,

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.

Anton

Signed-off-by: Anton Blanchard <anton@samba.org>

diff -puN kernel/irq/proc.c~debug_gqirm kernel/irq/proc.c
--- gr_work/kernel/irq/proc.c~debug_gqirm 2004-11-30 19:57:04.584233473 -0600
+++ gr_work-anton/kernel/irq/proc.c 2004-11-30 19:57:13.149208938 -0600
@@ -56,8 +56,7 @@ static int irq_affinity_write_proc(struc
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;
}
_
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 14:08    [W:0.021 / U:4.748 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site