Warning in -next w/ "ARM: 7011/1: Add ARM cpu topology definition"
Vincent Guittot
vincent.guittot at linaro.org
Fri Oct 14 05:57:54 EDT 2011
Hi Will,
Thanks for pointing out this.
I have based my cpu topology patch on sh one which also uses unsigned
int and haven't noticed this warning during compilation
I'm going to fix this
Vincent
On 14 October 2011 11:31, Will Deacon <will.deacon at arm.com> wrote:
> Hi Vincent,
>
> When compiling next with SCHED_MC enabled I get a warning from sched.c
> because your topology functions (declared in arch/arm/include/asm/topology.h)
> take unsigned int cpu rather than int cpu:
>
> kernel/sched.c:7354:2: warning: initialization from incompatible pointer type
>
> 7353 #ifdef CONFIG_SCHED_MC
> 7354 { sd_init_MC, cpu_coregroup_mask, },
> 7355 #endif
>
> Apologies if you've already got a fix queued for this,
>
> Will
>
More information about the linux-arm-kernel
mailing list