Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Matt Fleming and committed by
Paul Mundt
1483feac 5f737b39

+1 -1
+1 -1
arch/sh/kernel/smp.c
··· 161 161 return 0; 162 162 } 163 163 #else /* ... !CONFIG_HOTPLUG_CPU */ 164 - int native_cpu_disable(void) 164 + int native_cpu_disable(unsigned int cpu) 165 165 { 166 166 return -ENOSYS; 167 167 }