Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 191469
b: refs/heads/master
c: 25a304f
h: refs/heads/master
i:
  191467: 4ed735a
v: v3
  • Loading branch information
Luca Barbieri authored and H. Peter Anvin committed Mar 1, 2010
1 parent 42e210c commit 6dc4264
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 97577896f6b9c056fa0a5e9f6a608110cb3dcd33
refs/heads/master: 25a304f277ad70166eeae25a4958d2049005c33a
6 changes: 3 additions & 3 deletions trunk/lib/atomic64_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -130,16 +130,16 @@ static __init int test_atomic64(void)
#endif

INIT(onestwos);
BUG_ON(atomic64_inc_not_zero(&v));
BUG_ON(!atomic64_inc_not_zero(&v));
r += one;
BUG_ON(v.counter != r);

INIT(0);
BUG_ON(!atomic64_inc_not_zero(&v));
BUG_ON(atomic64_inc_not_zero(&v));
BUG_ON(v.counter != r);

INIT(-one);
BUG_ON(atomic64_inc_not_zero(&v));
BUG_ON(!atomic64_inc_not_zero(&v));
r += one;
BUG_ON(v.counter != r);

Expand Down

0 comments on commit 6dc4264

Please sign in to comment.