diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-01-01 10:12:23 +1030 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-01-01 10:12:23 +1030 |
commit | 4462344ee9ea9224d026801b877887f2f39774a3 (patch) | |
tree | deb703d6858f2fb7f7db69c65e90560ce4a0654e /kernel/trace/trace.h | |
parent | 9e01c1b74c9531e301c900edaa92a99fcb7738f2 (diff) | |
download | lwn-4462344ee9ea9224d026801b877887f2f39774a3.tar.gz lwn-4462344ee9ea9224d026801b877887f2f39774a3.zip |
cpumask: convert kernel trace functions further
Impact: Reduce future memory usage, use new cpumask API.
Since the last patch was created and acked, more old cpumask users
slipped into kernel/trace.
Mostly trivial conversions, except struct trace_iterator's "started"
member becomes a cpumask_var_t.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'kernel/trace/trace.h')
-rw-r--r-- | kernel/trace/trace.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h index cc7a4f864036..4d3d381bfd95 100644 --- a/kernel/trace/trace.h +++ b/kernel/trace/trace.h @@ -368,7 +368,7 @@ struct trace_iterator { loff_t pos; long idx; - cpumask_t started; + cpumask_var_t started; }; int tracing_is_enabled(void); |