From: Russell King <rmk@arm.linux.org.uk>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: <linux-kernel@vger.kernel.org>
Subject: [PATCH] 3: 2.5.30-smph
Date: Sun, 04 Aug 2002 20:14:44 +0100 [thread overview]
Message-ID: <E17bQpw-0001qM-00@flint.arm.linux.org.uk> (raw)
This patch has been verified to apply cleanly to 2.5.30
This patch fixes a build warning in smp.h. register_cpu_notifier uses
struct notifier_block in its argument list. Unfortunately, there are
places where smp.h is included before the definition of this structure.
include/linux/smp.h | 2 ++
1 files changed, 2 insertions
--- orig/include/linux/smp.h Fri Aug 2 21:13:42 2002
+++ linux/include/linux/smp.h Sun Aug 4 13:08:12 2002
@@ -100,6 +100,8 @@
#define per_cpu(var, cpu) var
#define this_cpu(var) var
+struct notifier_block;
+
/* Need to know about CPUs going up/down? */
static inline int register_cpu_notifier(struct notifier_block *nb)
{
reply other threads:[~2002-08-04 19:11 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=E17bQpw-0001qM-00@flint.arm.linux.org.uk \
--to=rmk@arm.linux.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/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®