Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 269170
b: refs/heads/master
c: f0f1d32
h: refs/heads/master
v: v3
  • Loading branch information
Peter Zijlstra authored and Ingo Molnar committed Oct 4, 2011
1 parent 915bd0c commit 3e9f50b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition 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: fa14ff4accfb24e59d2473f3d864d6648d80563b
refs/heads/master: f0f1d32f931b705c4ee5dd374074d34edf3eae14
1 change: 0 additions & 1 deletion trunk/include/linux/llist.h
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ static inline bool llist_add(struct llist_node *new, struct llist_head *head)
entry = cmpxchg(&head->first, old_entry, new);
if (entry == old_entry)
break;
cpu_relax();
}

return old_entry == NULL;
Expand Down
2 changes: 0 additions & 2 deletions trunk/lib/llist.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ bool llist_add_batch(struct llist_node *new_first, struct llist_node *new_last,
entry = cmpxchg(&head->first, old_entry, new_first);
if (entry == old_entry)
break;
cpu_relax();
}

return old_entry == NULL;
Expand Down Expand Up @@ -83,7 +82,6 @@ struct llist_node *llist_del_first(struct llist_head *head)
entry = cmpxchg(&head->first, old_entry, next);
if (entry == old_entry)
break;
cpu_relax();
}

return entry;
Expand Down

0 comments on commit 3e9f50b

Please sign in to comment.