aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_branch.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/trace/trace_branch.c')
-rw-r--r--kernel/trace/trace_branch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/trace/trace_branch.c b/kernel/trace/trace_branch.c
index 44bd39539d6..23f9b02ce96 100644
--- a/kernel/trace/trace_branch.c
+++ b/kernel/trace/trace_branch.c
@@ -41,7 +41,7 @@ probe_likely_condition(struct ftrace_branch_data *f, int val, int expect)
41 if (unlikely(!tr)) 41 if (unlikely(!tr))
42 return; 42 return;
43 43
44 local_irq_save(flags); 44 raw_local_irq_save(flags);
45 cpu = raw_smp_processor_id(); 45 cpu = raw_smp_processor_id();
46 if (atomic_inc_return(&tr->data[cpu]->disabled) != 1) 46 if (atomic_inc_return(&tr->data[cpu]->disabled) != 1)
47 goto out; 47 goto out;
@@ -73,7 +73,7 @@ probe_likely_condition(struct ftrace_branch_data *f, int val, int expect)
73 73
74 out: 74 out:
75 atomic_dec(&tr->data[cpu]->disabled); 75 atomic_dec(&tr->data[cpu]->disabled);
76 local_irq_restore(flags); 76 raw_local_irq_restore(flags);
77} 77}
78 78
79static inline 79static inline