Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 155213
b: refs/heads/master
c: 3217120
h: refs/heads/master
i:
  155211: 8057048
v: v3
  • Loading branch information
Ingo Molnar committed Jul 3, 2009
1 parent 45047de commit 1fa74c3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: 3ac805d2afd3fa4a07cb5bcf352fd7fa83f28935
refs/heads/master: 3217120873598533234b6dedda9c371ce30001d0
5 changes: 4 additions & 1 deletion trunk/arch/x86/include/asm/atomic_32.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@
*
* Atomically reads the value of @v.
*/
#define atomic_read(v) ((v)->counter)
static inline int atomic_read(const atomic_t *v)
{
return v->counter;
}

/**
* atomic_set - set atomic variable
Expand Down

0 comments on commit 1fa74c3

Please sign in to comment.