Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 100562
b: refs/heads/master
c: ffdaa35
h: refs/heads/master
v: v3
  • Loading branch information
Abhishek Sagar authored and Thomas Gleixner committed May 26, 2008
1 parent 27b2013 commit d180691
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: ccbfac2923c9febaeaf07a50054027a92b502718
refs/heads/master: ffdaa3582b6b39d625d585d07e329ffdc925e971
4 changes: 2 additions & 2 deletions trunk/kernel/trace/ftrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ ftrace_ip_in_hash(unsigned long ip, unsigned long key)
struct hlist_node *t;
int found = 0;

hlist_for_each_entry(p, t, &ftrace_hash[key], node) {
hlist_for_each_entry_rcu(p, t, &ftrace_hash[key], node) {
if (p->ip == ip) {
found = 1;
break;
Expand All @@ -214,7 +214,7 @@ ftrace_ip_in_hash(unsigned long ip, unsigned long key)
static inline void
ftrace_add_hash(struct dyn_ftrace *node, unsigned long key)
{
hlist_add_head(&node->node, &ftrace_hash[key]);
hlist_add_head_rcu(&node->node, &ftrace_hash[key]);
}

static void ftrace_free_rec(struct dyn_ftrace *rec)
Expand Down

0 comments on commit d180691

Please sign in to comment.