Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 121119
b: refs/heads/master
c: f3c7ac4
h: refs/heads/master
i:
  121117: be991d5
  121115: 8b84ee2
  121111: 6fe7992
  121103: 215e765
  121087: 0d6bdd5
v: v3
  • Loading branch information
Steven Rostedt authored and Ingo Molnar committed Nov 16, 2008
1 parent fd188fa commit b0b545d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 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: 072b40a15616fe6bea68466e6bffcfcbf5c8f26f
refs/heads/master: f3c7ac40a99f4044b843e6e2c4f46ab2d354c563
2 changes: 1 addition & 1 deletion trunk/kernel/trace/ftrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ ftrace_record_ip(unsigned long ip)
{
struct dyn_ftrace *rec;

if (!ftrace_enabled || ftrace_disabled)
if (ftrace_disabled)
return NULL;

rec = ftrace_alloc_dyn_node(ip);
Expand Down
4 changes: 2 additions & 2 deletions trunk/kernel/trace/trace_branch.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ probe_likely_condition(struct ftrace_branch_data *f, int val, int expect)
if (unlikely(!tr))
return;

raw_local_irq_save(flags);
local_irq_save(flags);
cpu = raw_smp_processor_id();
if (atomic_inc_return(&tr->data[cpu]->disabled) != 1)
goto out;
Expand Down Expand Up @@ -73,7 +73,7 @@ probe_likely_condition(struct ftrace_branch_data *f, int val, int expect)

out:
atomic_dec(&tr->data[cpu]->disabled);
raw_local_irq_restore(flags);
local_irq_restore(flags);
}

static inline
Expand Down

0 comments on commit b0b545d

Please sign in to comment.