Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 175902
b: refs/heads/master
c: dec54bf
h: refs/heads/master
v: v3
  • Loading branch information
Tejun Heo committed Oct 13, 2009
1 parent b6828b8 commit 7af8657
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9288f99aa52d90a5b82573c4b769c97c55af2f56
refs/heads/master: dec54bf538326a1503dd780c9f2811f495af95c5
4 changes: 2 additions & 2 deletions trunk/kernel/trace/trace_functions_graph.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ static int __trace_graph_entry(struct trace_array *tr,
struct ring_buffer *buffer = tr->buffer;
struct ftrace_graph_ent_entry *entry;

if (unlikely(local_read(&__get_cpu_var(ftrace_cpu_disabled))))
if (unlikely(__this_cpu_read(per_cpu_var(ftrace_cpu_disabled))))
return 0;

event = trace_buffer_lock_reserve(buffer, TRACE_GRAPH_ENT,
Expand Down Expand Up @@ -240,7 +240,7 @@ static void __trace_graph_return(struct trace_array *tr,
struct ring_buffer *buffer = tr->buffer;
struct ftrace_graph_ret_entry *entry;

if (unlikely(local_read(&__get_cpu_var(ftrace_cpu_disabled))))
if (unlikely(__this_cpu_read(per_cpu_var(ftrace_cpu_disabled))))
return;

event = trace_buffer_lock_reserve(buffer, TRACE_GRAPH_RET,
Expand Down

0 comments on commit 7af8657

Please sign in to comment.