Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 24830
b: refs/heads/master
c: 4da9f13
h: refs/heads/master
v: v3
  • Loading branch information
Kyle McMartin authored and Kyle McMartin committed Mar 30, 2006
1 parent c7ff1d1 commit ce907bb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a2d33807061133c8bb5cf515eec16e6900f26bc6
refs/heads/master: 4da9f131a74d12de56c44da6d522a9116da06805
3 changes: 3 additions & 0 deletions trunk/include/asm-parisc/atomic.h
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,8 @@ static __inline__ int atomic_read(const atomic_t *v)

#define atomic_dec_and_test(v) (atomic_dec_return(v) == 0)

#define atomic_sub_and_test(i,v) (atomic_sub_return((i),(v)) == 0)

#define ATOMIC_INIT(i) ((atomic_t) { (i) })

#define smp_mb__before_atomic_dec() smp_mb()
Expand Down Expand Up @@ -267,6 +269,7 @@ atomic64_read(const atomic64_t *v)

#define atomic64_inc_and_test(v) (atomic64_inc_return(v) == 0)
#define atomic64_dec_and_test(v) (atomic64_dec_return(v) == 0)
#define atomic64_sub_and_test(i,v) (atomic64_sub_return((i),(v)) == 0)

#endif /* __LP64__ */

Expand Down

0 comments on commit ce907bb

Please sign in to comment.