summaryrefslogtreecommitdiffstats
path: root/include/asm-ia64/local.h
diff options
context:
space:
mode:
authorJody McIntyre <scjody@modernduck.com>2005-12-12 23:34:32 -0500
committerJody McIntyre <scjody@modernduck.com>2005-12-12 23:34:32 -0500
commit525352eb6d355bef6adf597252fc6d04f2dbe66c (patch)
tree4d2b42372ec0ac985f2775b0ea260c707e93fdd4 /include/asm-ia64/local.h
parentd51e86c18a479f1dbcef3aa20e58ad04d1233016 (diff)
parent0e670506668a43e1355b8f10c33d081a676bd521 (diff)
downloadlinux-525352eb6d355bef6adf597252fc6d04f2dbe66c.tar.gz
linux-525352eb6d355bef6adf597252fc6d04f2dbe66c.tar.bz2
linux-525352eb6d355bef6adf597252fc6d04f2dbe66c.zip
Merge with http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Diffstat (limited to 'include/asm-ia64/local.h')
-rw-r--r--include/asm-ia64/local.h4
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 {
#define local_set(l, i) atomic64_set(&(l)->val, i)
#define local_inc(l) atomic64_inc(&(l)->val)
#define local_dec(l) atomic64_dec(&(l)->val)
-#define local_add(l) atomic64_add(&(l)->val)
-#define local_sub(l) atomic64_sub(&(l)->val)
+#define local_add(i, l) atomic64_add((i), &(l)->val)
+#define local_sub(i, l) atomic64_sub((i), &(l)->val)
/* Non-atomic variants, i.e., preemption disabled and won't be touched in interrupt, etc. */