From: Pavel Machek <pavel@ucw.cz>
To: Andrew Morton <akpm@zip.com.au>,
kernel list <linux-kernel@vger.kernel.org>,
Nigel Cunningham <ncunningham@linuxmail.org>
Subject: [patch] Fix preempt warning in kernel/power/smp.c
Date: Fri, 22 Jul 2005 17:28:18 +0200 [thread overview]
Message-ID: <20050722152818.GA2561@elf.ucw.cz> (raw)
From: Nigel Cunningham <nigel@suspend2.net>
This patch fixes a warning in the disable_nonboot_cpus call in
kernel/power/smp.c.
Signed-off-by: Nigel Cunningham <nigel@suspend2.net>
Signed-off-by: Pavel Machek <pavel@suse.cz>
---
commit 93fb99fd9f170b5418ed73475b7664d355465359
tree f2bd09522ef68da1010e423fde07ad902f50eda5
parent 3bd0270be587b87ec14f1fdc50bd8c9e3f1142dc
author <pavel@amd.(none)> Fri, 22 Jul 2005 17:27:11 +0200
committer <pavel@amd.(none)> Fri, 22 Jul 2005 17:27:11 +0200
kernel/power/smp.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/power/smp.c b/kernel/power/smp.c
--- a/kernel/power/smp.c
+++ b/kernel/power/smp.c
@@ -38,7 +38,7 @@ void disable_nonboot_cpus(void)
}
printk("Error taking cpu %d down: %d\n", cpu, error);
}
- BUG_ON(smp_processor_id() != 0);
+ BUG_ON(raw_smp_processor_id() != 0);
if (error)
panic("cpus not sleeping");
}
reply other threads:[~2005-07-22 15:28 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=20050722152818.GA2561@elf.ucw.cz \
--to=pavel@ucw.cz \
--cc=akpm@zip.com.au \
--cc=linux-kernel@vger.kernel.org \
--cc=ncunningham@linuxmail.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®