Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 100436
b: refs/heads/master
c: 18cef37
h: refs/heads/master
v: v3
  • Loading branch information
Steven Rostedt authored and Thomas Gleixner committed May 23, 2008
1 parent 38e8935 commit a9f60b4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 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: 0764d23cf066c52de42b653144605b481d3fbdbc
refs/heads/master: 18cef379d30f5ded20cc31d7f2d342639d39919d
4 changes: 2 additions & 2 deletions trunk/kernel/trace/trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ function_trace_call(unsigned long ip, unsigned long parent_ip)
if (unlikely(!tracer_enabled))
return;

raw_local_irq_save(flags);
local_irq_save(flags);
cpu = raw_smp_processor_id();
data = tr->data[cpu];
disabled = atomic_inc_return(&data->disabled);
Expand All @@ -278,7 +278,7 @@ function_trace_call(unsigned long ip, unsigned long parent_ip)
ftrace(tr, data, ip, parent_ip, flags);

atomic_dec(&data->disabled);
raw_local_irq_restore(flags);
local_irq_restore(flags);
}

static struct ftrace_ops trace_ops __read_mostly =
Expand Down
4 changes: 2 additions & 2 deletions trunk/kernel/trace/trace_sched_switch.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ ctx_switch_func(struct task_struct *prev, struct task_struct *next)
if (!tracer_enabled)
return;

raw_local_irq_save(flags);
local_irq_save(flags);
cpu = raw_smp_processor_id();
data = tr->data[cpu];
disabled = atomic_inc_return(&data->disabled);
Expand All @@ -38,7 +38,7 @@ ctx_switch_func(struct task_struct *prev, struct task_struct *next)
tracing_sched_switch_trace(tr, data, prev, next, flags);

atomic_dec(&data->disabled);
raw_local_irq_restore(flags);
local_irq_restore(flags);
}

void ftrace_ctx_switch(struct task_struct *prev, struct task_struct *next)
Expand Down

0 comments on commit a9f60b4

Please sign in to comment.