From: Peter Huewe <PeterHuewe@gmx.de>
To: Paul Mundt <lethal@linux-sh.org>
Cc: Rusty Russell <rusty@rustcorp.com.au>,
Matt Fleming <matt@console-pimps.org>,
Mike Travis <travis@sgi.com>,
linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org,
kernel-janitors@vger.kernel.org
Subject: [PATCH] arch/sh: Fix wrong function prototype for native_cpu_disable
Date: Thu, 29 Apr 2010 00:56:10 +0000 [thread overview]
Message-ID: <201004290256.10506.PeterHuewe@gmx.de> (raw)
From: Peter Huewe <peterhuewe@gmx.de>
This patch fixes the prototype of native_cpu_disable if
CONFIG_HOTPLUG_CPU is not set, and thus fixes a build failure[1]
References:
[1] http://kisskb.ellerman.id.au/kisskb/buildresult/2536296/
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
---
KernelVersion: linux-next-20100429
arch/sh/kernel/smp.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/sh/kernel/smp.c b/arch/sh/kernel/smp.c
index 86cd6f9..509b36b 100644
--- a/arch/sh/kernel/smp.c
+++ b/arch/sh/kernel/smp.c
@@ -161,7 +161,7 @@ int __cpu_disable(void)
return 0;
}
#else /* ... !CONFIG_HOTPLUG_CPU */
-int native_cpu_disable(void)
+int native_cpu_disable(unsigned int cpu)
{
return -ENOSYS;
}
--
1.6.4.4
next reply other threads:[~2010-04-29 0:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-29 0:56 Peter Huewe [this message]
2010-04-29 14:30 ` [PATCH] arch/sh: Fix wrong function prototype for native_cpu_disable Paul Mundt
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=201004290256.10506.PeterHuewe@gmx.de \
--to=peterhuewe@gmx.de \
--cc=kernel-janitors@vger.kernel.org \
--cc=lethal@linux-sh.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sh@vger.kernel.org \
--cc=matt@console-pimps.org \
--cc=rusty@rustcorp.com.au \
--cc=travis@sgi.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;
as well as URLs for NNTP newsgroup(s).