[PATCH RFC] arm: Define cpu_logical_map when CONFIG_SMP is not set

Russell King - ARM Linux linux at arm.linux.org.uk
Thu Jan 5 10:01:40 EST 2012


On Thu, Jan 05, 2012 at 08:44:46PM +0800, hamo.by at gmail.com wrote:
> From: Yang Bai <hamo.by at gmail.com>
> 
> If CONFIG_SMP is not set, define cpu_logical_map(cpu) as
> (cpu), this fixes the problem described in this mail:
> https://lkml.org/lkml/2012/1/2/142

This doesn't solve the reported problem.  asm/smp.h should not be included
by any .c file, and won't be included by linux/smp.h if CONFIG_SMP is not
set.



More information about the linux-arm-kernel mailing list