lkml.org 
[lkml]   [2001]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] 2.4.1-ac16, arch/i386/kernel/irq.c: spurious #if CONFIG_SMP .. #endif
In irq_affinity_write_proc:

--- arch/i386/kernel/irq.c.old Sun Feb 18 12:22:06 2001
+++ arch/i386/kernel/irq.c Sun Feb 18 12:22:31 2001
@@ -1080,7 +1080,6 @@

err = parse_hex_value(buffer, count, &new_value);

-#if CONFIG_SMP
/*
* Do not allow disabling IRQs completely - it's a too easy
* way to make the system unusable accidentally :-) At least
@@ -1088,7 +1087,6 @@
*/
if (!(new_value & cpu_online_map))
return -EINVAL;
-#endif

irq_affinity[irq] = new_value;
irq_desc[irq].handler->set_affinity(irq, new_value);

--
Francis Galiegue, fg@mandrakesoft.com - Normand et fier de l'être
"Programming is a race between programmers, who try and make more and more
idiot-proof software, and universe, which produces more and more remarkable
idiots. Until now, universe leads the race" -- R. Cook

-
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:15    [W:0.248 / U:0.336 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site