diff options
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) | |||
54 | goto out; | 54 | goto out; |
55 | 55 | ||
56 | pc = preempt_count(); | 56 | pc = preempt_count(); |
57 | event = trace_buffer_lock_reserve(tr, TRACE_BRANCH, | 57 | event = trace_buffer_lock_reserve(tr->buffer, TRACE_BRANCH, |
58 | sizeof(*entry), flags, pc); | 58 | sizeof(*entry), flags, pc); |
59 | if (!event) | 59 | if (!event) |
60 | goto out; | 60 | goto out; |