projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
atomic: use <linux/atomic.h>
[linux-block.git]
/
arch
/
alpha
/
include
/
asm
/
atomic.h
diff --git
a/arch/alpha/include/asm/atomic.h
b/arch/alpha/include/asm/atomic.h
index e756d04b6cd5dcdf07b4f394b8be15f1814c4849..88b7491490bc648fb443c4be92b514088c2b3099 100644
(file)
--- a/
arch/alpha/include/asm/atomic.h
+++ b/
arch/alpha/include/asm/atomic.h
@@
-199,7
+199,6
@@
static __inline__ int atomic_add_unless(atomic_t *v, int a, int u)
return c != (u);
}
-#define atomic_inc_not_zero(v) atomic_add_unless((v), 1, 0)
/**
* atomic64_add_unless - add unless the number is a given value