Warning in -next w/ "ARM: 7011/1: Add ARM cpu topology definition"

Will Deacon will.deacon at arm.com
Fri Oct 14 05:31:01 EDT 2011


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