diff options
author | Yong Zhang <yong.zhang0@gmail.com> | 2009-09-14 08:20:16 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-09-20 14:20:30 -0400 |
commit | cb5fd13f1178dee4302646b2890d884c380160e1 (patch) | |
tree | 473960daef1977f2bff85c21d0f5ed9f84d35ebd /tools/perf/builtin-trace.c | |
parent | 89f19f04dc72363d912fd007a399cb10310eff6e (diff) |
sched: Fix potential NULL derference of doms_cur
If CONFIG_CPUMASK_OFFSTACK is enabled but doms_cur alloc failed in
arch_init_sched_domains(), doms_cur will move back to
fallback_doms. But this time, fallback_doms has not been
initialized yet.
Signed-off-by: Yong Zhang <yong.zhang0@gmail.com>
Cc: a.p.zijlstra@chello.nl
LKML-Reference: <1252930816-7672-1-git-send-email-yong.zhang0@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/builtin-trace.c')
0 files changed, 0 insertions, 0 deletions