diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-05-19 11:22:19 +0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-05-19 11:22:19 +0400 |
commit | 4200efd9acda4accf24640f1e77d24fdcdb524df (patch) | |
tree | ffeda24ae6a9c1b8ca94615e261434d925d2ed2c /Documentation/basic_profiling.txt | |
parent | 2d02494f5a90f2e4b3c4c6acc85ec94674cdc431 (diff) | |
download | linux-4200efd9acda4accf24640f1e77d24fdcdb524df.tar.xz |
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 <jeff@garzik.org>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
LKML-Reference: <alpine.LFD.2.01.0905180850110.3301@localhost.localdomain>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'Documentation/basic_profiling.txt')
0 files changed, 0 insertions, 0 deletions