Re: [PATCH RFC] arm: Define cpu_logical_map when CONFIG_SMP is notset

From: Russell King - ARM Linux
Date: Thu Jan 05 2012 - 10:02:04 EST


On Thu, Jan 05, 2012 at 08:44:46PM +0800, hamo.by@xxxxxxxxx wrote:
> From: Yang Bai <hamo.by@xxxxxxxxx>
>
> 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/