From: Russell King <rmk@arm.linux.org.uk>
To: LKML <linux-kernel@vger.kernel.org>
Subject: [PATCH] 2.5.32-flags
Date: Fri, 30 Aug 2002 22:39:13 +0100 [thread overview]
Message-ID: <E17ktU1-00035J-00@flint.arm.linux.org.uk> (raw)
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);
reply other threads:[~2002-08-30 21:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E17ktU1-00035J-00@flint.arm.linux.org.uk \
--to=rmk@arm.linux.org.uk \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®