From: Ingo Molnar Date: Tue, 19 May 2009 07:22:19 +0000 (+0200) Subject: sched: properly define the sched_group::cpumask and sched_domain::span fields X-Git-Tag: v2.6.31-rc1~421^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4200efd9acda4accf24640f1e77d24fdcdb524df;p=pandora-kernel.git sched: properly define the sched_group::cpumask and sched_domain::span fields Properly document the variable-size structure tricks we are doing wrt. struct sched_group and sched_domain, and use the field[0] GCC extension instead of defining a vla array. Dont use unions for this, as pointed out by Linus. [ Impact: cleanup, un-confuse Sparse and LLVM ] Reported-by: Jeff Garzik Acked-by: Linus Torvalds LKML-Reference: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed