Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 140951
b: refs/heads/master
c: b00f0b6
h: refs/heads/master
i:
  140949: f5d67f4
  140947: 24fd741
  140943: 9dd4656
v: v3
  • Loading branch information
Zhaolei authored and Ingo Molnar committed Mar 13, 2009
1 parent badbca4 commit 41945c1
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 62a394eb77a1ddea73273f53ed8c3ccf6e04f2fb
refs/heads/master: b00f0b6dc1773b4c8f538503247da050b5ea631b
3 changes: 2 additions & 1 deletion trunk/kernel/trace/ftrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,8 @@ void ftrace_release(void *start, unsigned long size)

mutex_lock(&ftrace_lock);
do_for_each_ftrace_rec(pg, rec) {
if ((rec->ip >= s) && (rec->ip < e))
if ((rec->ip >= s) && (rec->ip < e) &&
!(rec->flags & FTRACE_FL_FREE))
ftrace_free_rec(rec);
} while_for_each_ftrace_rec();
mutex_unlock(&ftrace_lock);
Expand Down

0 comments on commit 41945c1

Please sign in to comment.