diff options
author | Matt Fleming <matt@console-pimps.org> | 2010-04-28 13:11:30 +0200 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-04-29 16:28:38 +0200 |
commit | 1483feac74fdfd84a7ed7586c66482842e3b6e86 (patch) | |
tree | 0982c4fa3f7434d08ad75c6b5306528f37e53651 | |
parent | sh: add CONFIG_VIRTUALIZATION for virtio support (diff) | |
download | linux-1483feac74fdfd84a7ed7586c66482842e3b6e86.tar.xz linux-1483feac74fdfd84a7ed7586c66482842e3b6e86.zip |
sh: native_cpu_disable() build error when CONFIG_HOTPLUG_CPU=n
arch/sh/kernel/smp.c:164: error: conflicting types for 'native_cpu_disable'
/home/matt/src/kernels/sh-2.6/arch/sh/include/asm/smp.h:48: error: previous declaration of 'native_cpu_disable' was here
Signed-off-by: Matt Fleming <matt@console-pimps.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r-- | 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 86cd6f94b53b..509b36b45115 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; } |