Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 116616
b: refs/heads/master
c: bbe5c78
h: refs/heads/master
v: v3
  • Loading branch information
Pekka Paalanen authored and Ingo Molnar committed Oct 14, 2008
1 parent 25ef4b4 commit dd8f61b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 644f991d4b920ab1f5043509651479420b293490
refs/heads/master: bbe5c7830c6dbde58726d44ec0337bc8b2d95d37
4 changes: 3 additions & 1 deletion trunk/arch/x86/mm/mmio-mod.c
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,10 @@ static void ioremap_trace_core(resource_size_t offset, unsigned long size,
map.map_id = trace->id;

spin_lock_irq(&trace_lock);
if (!is_enabled())
if (!is_enabled()) {
kfree(trace);
goto not_enabled;
}

mmio_trace_mapping(&map);
list_add_tail(&trace->list, &trace_list);
Expand Down

0 comments on commit dd8f61b

Please sign in to comment.