Skip to contentSkip to conversation

2.5.32-flags

PATCH New Russell King 1 participant 1 message Aug 30, 2002

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 2.5.32-flags

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
kernel/softirq.c +2 -2
diff -ur orig/kernel/softirq.c linux/kernel/softirq.c
@@ -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);