diff options
author | Zhenwen Xu <helight.xu@gmail.com> | 2009-10-08 09:21:46 +0800 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2009-10-07 21:52:03 -0400 |
commit | c8647b28726b09b087155417bb698e7b3789f8a0 (patch) | |
tree | 44300cbb5bfb317ce116227ec38ba33471425173 /kernel/trace/trace_branch.c | |
parent | 3279ba37db5d65c4ab0dcdee3b211ccb85bb563f (diff) | |
download | talos-obmc-linux-c8647b28726b09b087155417bb698e7b3789f8a0.tar.gz talos-obmc-linux-c8647b28726b09b087155417bb698e7b3789f8a0.zip |
tracing: fix warning on kernel/trace/trace_branch.c andtrace_hw_branches.c
fix warnings that caused the API change of trace_buffer_lock_reserve()
change files: kernel/trace/trace_hw_branch.c
kernel/trace/trace_branch.c
Signed-off-by: Zhenwen Xu <helight.xu@gmail.com>
LKML-Reference: <20091008012146.GA4170@helight>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace_branch.c')
-rw-r--r-- | kernel/trace/trace_branch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/trace_branch.c b/kernel/trace/trace_branch.c index 7a7a9fd249a9..216e2dd302a0 100644 --- a/kernel/trace/trace_branch.c +++ b/kernel/trace/trace_branch.c @@ -54,7 +54,7 @@ probe_likely_condition(struct ftrace_branch_data *f, int val, int expect) goto out; pc = preempt_count(); - event = trace_buffer_lock_reserve(tr, TRACE_BRANCH, + event = trace_buffer_lock_reserve(tr->buffer, TRACE_BRANCH, sizeof(*entry), flags, pc); if (!event) goto out; |