projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
590711b
)
[IA64] Fix missing parameter for local_add/sub
author
Christoph Lameter
<clameter@engr.sgi.com>
Wed, 7 Dec 2005 19:24:42 +0000
(11:24 -0800)
committer
Tony Luck
<tony.luck@intel.com>
Wed, 7 Dec 2005 19:30:11 +0000
(11:30 -0800)
Local add/sub macros need to have a parameter to specify
the addend/subtrahend respectively.
Signed-off-by: Christoph Lameter <clameter@sgi.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
include/asm-ia64/local.h
patch
|
blob
|
blame
|
history
diff --git
a/include/asm-ia64/local.h
b/include/asm-ia64/local.h
index 1dbd584ad85178bcbfc95ae03591172ef396a016..dc519092ef4d65099a3c8ad7dec8e7a902cb29a3 100644
(file)
--- 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. */