diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-12-12 23:51:01 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-12-12 23:51:01 -0500 |
commit | 575ab52a218e4ff0667a6cbd972c3af443ee8713 (patch) | |
tree | 047730477e31fe7f0551d25c5454e299926b6500 /include/asm-ia64/local.h | |
parent | c621b140603dfb4a89809e00f965d42c054871e0 (diff) | |
parent | dfa159886f38344ede31e3b13ec614e0bebc09c6 (diff) |
Merge branch 'upstream-fixes'
Diffstat (limited to 'include/asm-ia64/local.h')
-rw-r--r-- | include/asm-ia64/local.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-ia64/local.h b/include/asm-ia64/local.h index 1dbd584ad851..dc519092ef4d 100644 --- a/include/asm-ia64/local.h +++ b/include/asm-ia64/local.h | |||
@@ -17,8 +17,8 @@ typedef struct { | |||
17 | #define local_set(l, i) atomic64_set(&(l)->val, i) | 17 | #define local_set(l, i) atomic64_set(&(l)->val, i) |
18 | #define local_inc(l) atomic64_inc(&(l)->val) | 18 | #define local_inc(l) atomic64_inc(&(l)->val) |
19 | #define local_dec(l) atomic64_dec(&(l)->val) | 19 | #define local_dec(l) atomic64_dec(&(l)->val) |
20 | #define local_add(l) atomic64_add(&(l)->val) | 20 | #define local_add(i, l) atomic64_add((i), &(l)->val) |
21 | #define local_sub(l) atomic64_sub(&(l)->val) | 21 | #define local_sub(i, l) atomic64_sub((i), &(l)->val) |
22 | 22 | ||
23 | /* Non-atomic variants, i.e., preemption disabled and won't be touched in interrupt, etc. */ | 23 | /* Non-atomic variants, i.e., preemption disabled and won't be touched in interrupt, etc. */ |
24 | 24 | ||