[PATCH] 2.5.32-flags

From: Russell King (rmk@arm.linux.org.uk)
Date: Fri Aug 30 2002 - 16:39:13 EST


This patch appears not to be in 2.5.32, but applies cleanly.

softirq uses "long" with local_irq_save(). Flags should be saved
into an unsigned long variable.

 kernel/softirq.c | 4 ++--
 1 files changed, 2 insertions, 2 deletions

diff -ur orig/kernel/softirq.c linux/kernel/softirq.c
--- orig/kernel/softirq.c Fri Aug 30 14:53:34 2002
+++ linux/kernel/softirq.c Thu Aug 29 17:22:33 2002
@@ -59,7 +59,7 @@
 asmlinkage void do_softirq()
 {
         __u32 pending;
- long flags;
+ unsigned long flags;
         __u32 mask;
         int cpu;
 
@@ -129,7 +129,7 @@
 
 void raise_softirq(unsigned int nr)
 {
- long flags;
+ unsigned long flags;
 
         local_irq_save(flags);
         cpu_raise_softirq(smp_processor_id(), nr);
-
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 : Sat Aug 31 2002 - 22:00:31 EST