* [PATCH] arch/sh: Fix wrong function prototype for native_cpu_disable
@ 2010-04-29 0:56 Peter Huewe
2010-04-29 14:30 ` Paul Mundt
0 siblings, 1 reply; 2+ messages in thread
From: Peter Huewe @ 2010-04-29 0:56 UTC (permalink / raw)
To: Paul Mundt
Cc: Rusty Russell, Matt Fleming, Mike Travis, linux-sh, linux-kernel,
kernel-janitors
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
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] arch/sh: Fix wrong function prototype for native_cpu_disable
2010-04-29 0:56 [PATCH] arch/sh: Fix wrong function prototype for native_cpu_disable Peter Huewe
@ 2010-04-29 14:30 ` Paul Mundt
0 siblings, 0 replies; 2+ messages in thread
From: Paul Mundt @ 2010-04-29 14:30 UTC (permalink / raw)
To: Peter Huewe
Cc: Rusty Russell, Matt Fleming, Mike Travis, linux-sh, linux-kernel,
kernel-janitors
On Thu, Apr 29, 2010 at 02:56:10AM +0200, Peter Huewe wrote:
> 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>
I've already applied Matt's patch for the same issue, thanks anyways!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-04-29 14:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-29 0:56 [PATCH] arch/sh: Fix wrong function prototype for native_cpu_disable Peter Huewe
2010-04-29 14:30 ` Paul Mundt
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).