diff options
author | Philipp Hahn <hahn@univention.de> | 2012-05-02 12:09:35 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2012-05-09 05:38:20 -0400 |
commit | 1f0459780c28491c480f7098f3ece79334ccae0a (patch) | |
tree | 67f8f00307c8d8eca314514a3ee8bf52ff5a9581 | |
parent | d132d7f6fbb9cc246dab828fc9740e5caf78aeb3 (diff) |
atomic64_32.h: fix parameter naming mismatch
The doc string doesn't match the parameter name, fix
@p -> @v
@ptr -> @v
@n -> @i
Signed-off-by: Philipp Hahn <hahn@univention.de>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r-- | arch/x86/include/asm/atomic64_32.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/x86/include/asm/atomic64_32.h b/arch/x86/include/asm/atomic64_32.h index 198119910da5..b154de75c90c 100644 --- a/arch/x86/include/asm/atomic64_32.h +++ b/arch/x86/include/asm/atomic64_32.h | |||
@@ -63,7 +63,7 @@ ATOMIC64_DECL(add_unless); | |||
63 | 63 | ||
64 | /** | 64 | /** |
65 | * atomic64_cmpxchg - cmpxchg atomic64 variable | 65 | * atomic64_cmpxchg - cmpxchg atomic64 variable |
66 | * @p: pointer to type atomic64_t | 66 | * @v: pointer to type atomic64_t |
67 | * @o: expected value | 67 | * @o: expected value |
68 | * @n: new value | 68 | * @n: new value |
69 | * | 69 | * |
@@ -98,7 +98,7 @@ static inline long long atomic64_xchg(atomic64_t *v, long long n) | |||
98 | /** | 98 | /** |
99 | * atomic64_set - set atomic64 variable | 99 | * atomic64_set - set atomic64 variable |
100 | * @v: pointer to type atomic64_t | 100 | * @v: pointer to type atomic64_t |
101 | * @n: value to assign | 101 | * @i: value to assign |
102 | * | 102 | * |
103 | * Atomically sets the value of @v to @n. | 103 | * Atomically sets the value of @v to @n. |
104 | */ | 104 | */ |
@@ -200,7 +200,7 @@ static inline long long atomic64_sub(long long i, atomic64_t *v) | |||
200 | * atomic64_sub_and_test - subtract value from variable and test result | 200 | * atomic64_sub_and_test - subtract value from variable and test result |
201 | * @i: integer value to subtract | 201 | * @i: integer value to subtract |
202 | * @v: pointer to type atomic64_t | 202 | * @v: pointer to type atomic64_t |
203 | * | 203 | * |
204 | * Atomically subtracts @i from @v and returns | 204 | * Atomically subtracts @i from @v and returns |
205 | * true if the result is zero, or false for all | 205 | * true if the result is zero, or false for all |
206 | * other cases. | 206 | * other cases. |
@@ -224,9 +224,9 @@ static inline void atomic64_inc(atomic64_t *v) | |||
224 | 224 | ||
225 | /** | 225 | /** |
226 | * atomic64_dec - decrement atomic64 variable | 226 | * atomic64_dec - decrement atomic64 variable |
227 | * @ptr: pointer to type atomic64_t | 227 | * @v: pointer to type atomic64_t |
228 | * | 228 | * |
229 | * Atomically decrements @ptr by 1. | 229 | * Atomically decrements @v by 1. |
230 | */ | 230 | */ |
231 | static inline void atomic64_dec(atomic64_t *v) | 231 | static inline void atomic64_dec(atomic64_t *v) |
232 | { | 232 | { |