diff options
author | Steffen Klassert <[email protected]> | 2010-07-20 08:49:20 +0200 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2010-07-26 14:13:58 +0800 |
commit | b89661dff525a46edb7ee8a4423b5212068c05c0 (patch) | |
tree | 06f669f3efe74d37a546b8e75b3a5bd142a6a41f /tools/perf/util/trace-event-scripting.c | |
parent | fad3a906d324c02b3c25ef51f702384154089846 (diff) |
padata: Allocate cpumask dependend recources in any case
The cpumask separation work assumes the cpumask dependend recources
present regardless of valid or invalid cpumasks. With this patch
we allocate the cpumask dependend recources in any case. This fixes
two NULL pointer dereference crashes in padata_replace and in
padata_get_cpumask.
Signed-off-by: Steffen Klassert <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions