Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 100572
b: refs/heads/master
c: 34078a5
h: refs/heads/master
v: v3
  • Loading branch information
Abhishek Sagar authored and Ingo Molnar committed Jun 10, 2008
1 parent 63a6025 commit 360550a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: eb9a7bf09172f409c10ec9560adeea95bb4045f5
refs/heads/master: 34078a5e44db3cbed2e0ed580c29a39d94e0cd97
5 changes: 2 additions & 3 deletions trunk/kernel/trace/ftrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ static void ftrace_replace_code(int enable)
if (failed && (rec->flags & FTRACE_FL_CONVERTED)) {
rec->flags |= FTRACE_FL_FAILED;
if ((system_state == SYSTEM_BOOTING) ||
!kernel_text_address(rec->ip)) {
!core_kernel_text(rec->ip)) {
ftrace_del_hash(rec);
ftrace_free_rec(rec);
}
Expand Down Expand Up @@ -651,10 +651,9 @@ static int __ftrace_update_code(void *ignore)
ftrace_update_cnt++;
} else {
if ((system_state == SYSTEM_BOOTING) ||
!kernel_text_address(p->ip)) {
!core_kernel_text(p->ip)) {
ftrace_del_hash(p);
ftrace_free_rec(p);

}
}
}
Expand Down

0 comments on commit 360550a

Please sign in to comment.