linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] 2.5.32-flags
@ 2002-08-30 21:39 Russell King
  0 siblings, 0 replies; only message in thread
From: Russell King @ 2002-08-30 21:39 UTC (permalink / raw)
  To: LKML

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);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-08-30 21:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-30 21:39 [PATCH] 2.5.32-flags Russell King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).