Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 299700
b: refs/heads/master
c: ec2ccd8
h: refs/heads/master
v: v3
  • Loading branch information
Nobuhiro Iwamatsu authored and Paul Mundt committed Apr 27, 2012
1 parent 4a96bcd commit b66a639
Show file tree
Hide file tree
Showing 2 changed files with 2 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: f5bdb003a2ee6df5ab9bfa119df905f949a66b52
refs/heads/master: ec2ccd884ab1e190bc5ddb210c7d5f5ea2ddeba3
2 changes: 1 addition & 1 deletion trunk/arch/sh/include/asm/atomic.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include <linux/types.h>
#include <asm/cmpxchg.h>

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

#define atomic_read(v) (*(volatile int *)&(v)->counter)
#define atomic_set(v,i) ((v)->counter = (i))
Expand Down

0 comments on commit b66a639

Please sign in to comment.