> On Sun, Jan 19, 2003 at 02:18:52PM -0800, William Lee Irwin III wrote:
> + if (!any_online_cpu(tmp) >= NR_CPUS)
Thanks for spotting this, kai
diff -urpN cpu-2.5.59-2/arch/i386/kernel/irq.c cpu-2.5.59-3/arch/i386/kernel/irq.c
--- cpu-2.5.59-2/arch/i386/kernel/irq.c 2003-01-19 14:30:24.000000000 -0800
+++ cpu-2.5.59-3/arch/i386/kernel/irq.c 2003-01-19 14:52:00.000000000 -0800
@@ -873,7 +873,7 @@ static int irq_affinity_write_proc (stru
* one online CPU still has to be targeted.
*/
cpus_and(tmp, new_value, cpu_online_map);
- if (!any_online_cpu(tmp) >= NR_CPUS)
+ if (any_online_cpu(tmp) >= NR_CPUS)
return -EINVAL;
irq_affinity[irq] = new_value;
-
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/
This archive was generated by hypermail 2b29 : Thu Jan 23 2003 - 22:00:22 EST