lkml.org 
[lkml]   [2003]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH] cpumask_t
> 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/
\
 
 \ /
  Last update: 2005-03-22 13:32    [W:0.038 / U:0.412 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site