Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1483feac authored by Matt Fleming's avatar Matt Fleming Committed by Paul Mundt
Browse files

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: default avatarMatt Fleming <matt@console-pimps.org>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 5f737b39
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -161,7 +161,7 @@ int __cpu_disable(void)
	return 0;
	return 0;
}
}
#else /* ... !CONFIG_HOTPLUG_CPU */
#else /* ... !CONFIG_HOTPLUG_CPU */
int native_cpu_disable(void)
int native_cpu_disable(unsigned int cpu)
{
{
	return -ENOSYS;
	return -ENOSYS;
}
}