From: Ingo Molnar Date: Wed, 26 Nov 2008 13:13:42 +0000 (+0100) Subject: sched: convert struct root_domain to cpumask_var_t, fix X-Git-Tag: v2.6.29-rc1~538^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c39194878c09bd88ffc9c9d4c2f01c3397c7aed;p=pandora-kernel.git sched: convert struct root_domain to cpumask_var_t, fix Mathieu Desnoyers reported this build failure on powerpc: kernel/sched.c: In function 'sd_init_NODE': kernel/sched.c:7319: error: non-static initialization of a flexible array member kernel/sched.c:7319: error: (near initialization for '(anonymous)') this happens because .span changed to cpumask_var_t, hence the static CPU_MASK_NONE initializers in the SD_*_INIT templates are not type-correct anymore. Remove them, as they default to empty anyway. Also remove them from IA64, MIPS and SH. Reported-by: Mathieu Desnoyers Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed