diff options
Diffstat (limited to 'kernel/trace/trace_mmiotrace.c')
-rw-r--r-- | kernel/trace/trace_mmiotrace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/trace/trace_mmiotrace.c b/kernel/trace/trace_mmiotrace.c index 0e819f47bb7a..f28484618ff0 100644 --- a/kernel/trace/trace_mmiotrace.c +++ b/kernel/trace/trace_mmiotrace.c | |||
@@ -324,7 +324,7 @@ static void __trace_mmiotrace_rw(struct trace_array *tr, | |||
324 | if (!event) | 324 | if (!event) |
325 | return; | 325 | return; |
326 | entry = ring_buffer_event_data(event); | 326 | entry = ring_buffer_event_data(event); |
327 | tracing_generic_entry_update(&entry->ent, 0); | 327 | tracing_generic_entry_update(&entry->ent, 0, preempt_count()); |
328 | entry->ent.type = TRACE_MMIO_RW; | 328 | entry->ent.type = TRACE_MMIO_RW; |
329 | entry->rw = *rw; | 329 | entry->rw = *rw; |
330 | ring_buffer_unlock_commit(tr->buffer, event, irq_flags); | 330 | ring_buffer_unlock_commit(tr->buffer, event, irq_flags); |
@@ -352,7 +352,7 @@ static void __trace_mmiotrace_map(struct trace_array *tr, | |||
352 | if (!event) | 352 | if (!event) |
353 | return; | 353 | return; |
354 | entry = ring_buffer_event_data(event); | 354 | entry = ring_buffer_event_data(event); |
355 | tracing_generic_entry_update(&entry->ent, 0); | 355 | tracing_generic_entry_update(&entry->ent, 0, preempt_count()); |
356 | entry->ent.type = TRACE_MMIO_MAP; | 356 | entry->ent.type = TRACE_MMIO_MAP; |
357 | entry->map = *map; | 357 | entry->map = *map; |
358 | ring_buffer_unlock_commit(tr->buffer, event, irq_flags); | 358 | ring_buffer_unlock_commit(tr->buffer, event, irq_flags); |