[PATCH] sched: convert struct root_domain to cpumask_var_t, fix

From: Ingo Molnar
Date: Wed Nov 26 2008 - 08:09:19 EST



* Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxx> wrote:

> Hi Ingo,
>
> Running a cross-compiling for powerpc64, I ran into this :
>
> /home/compudj/git/linux.trees.git/kernel/sched.c: In function 'sd_init_NODE':
> /home/compudj/git/linux.trees.git/kernel/sched.c:7319: error: non-static initialization of a flexible array member
> /home/compudj/git/linux.trees.git/kernel/sched.c:7319: error: (near initialization for '(anonymous)')
>
> Any idea what's going on here ?
>
> I use gcc-4.1.1.

fallout from the cpumask changes, the fix is below. (or pull latest
tip/master)

Ingo


------------------>