aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/trace/trace.c')
-rw-r--r--kernel/trace/trace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
index d7ad030a4c49..9175ce91b8f6 100644
--- a/kernel/trace/trace.c
+++ b/kernel/trace/trace.c
@@ -269,7 +269,7 @@ function_trace_call(unsigned long ip, unsigned long parent_ip)
269 if (unlikely(!tracer_enabled)) 269 if (unlikely(!tracer_enabled))
270 return; 270 return;
271 271
272 raw_local_irq_save(flags); 272 local_irq_save(flags);
273 cpu = raw_smp_processor_id(); 273 cpu = raw_smp_processor_id();
274 data = tr->data[cpu]; 274 data = tr->data[cpu];
275 disabled = atomic_inc_return(&data->disabled); 275 disabled = atomic_inc_return(&data->disabled);
@@ -278,7 +278,7 @@ function_trace_call(unsigned long ip, unsigned long parent_ip)
278 ftrace(tr, data, ip, parent_ip, flags); 278 ftrace(tr, data, ip, parent_ip, flags);
279 279
280 atomic_dec(&data->disabled); 280 atomic_dec(&data->disabled);
281 raw_local_irq_restore(flags); 281 local_irq_restore(flags);
282} 282}
283 283
284static struct ftrace_ops trace_ops __read_mostly = 284static struct ftrace_ops trace_ops __read_mostly =