lkml.org 
[lkml]   [2002]   [Aug]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] 2.5.32-flags
Date
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/
\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.016 / U:8.912 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site