arch/sh: Fix wrong function prototype for native_cpu_disable
Subsystems (2)
PATCH 1/1 arch/sh: Fix wrong function prototype for native_cpu_disable
From: Peter Huewe <[email protected]>
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 <[email protected]>
---
KernelVersion: linux-next-20100429
arch/sh/kernel/smp.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/sh/kernel/smp.c +1 -1
@@ -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 ; }
Signature · 1 line
1.6.4.4
Quoted 9 lines · Peter Huewe
From: Peter Huewe <[email protected]>
This patch fixes the prototype of
native_cpu_disableifCONFIG_HOTPLUG_CPUis not set, and thus fixes a build failure[1]References:
[1] http://kisskb.ellerman.id.au/kisskb/buildresult/2536296/Signed-off-by Peter Huewe <[email protected]>
I've already applied Matt's patch for the same issue, thanks anyways!