aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2022-01-14 11:11:22 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2022-01-14 11:11:22 +0000
commit62b4e25f058b9820c8bf61e4664aa82428b0303b (patch)
tree9b05013dabd8f561f19deb222bfcf02d75bd3253
parent5efa7281a790809e4109340f0e4adcfd0a68db49 (diff)
downloadsrc-62b4e25f058b9820c8bf61e4664aa82428b0303b.tar.gz
src-62b4e25f058b9820c8bf61e4664aa82428b0303b.zip
powerpc: Fix syntax atomic.h
Fixes: b5d227b0b27 powerpc: Add atomic_testand_{set,clear}_{int,long}
-rw-r--r--sys/powerpc/include/atomic.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/powerpc/include/atomic.h b/sys/powerpc/include/atomic.h
index 0d54ba4115c7..deb53173418f 100644
--- a/sys/powerpc/include/atomic.h
+++ b/sys/powerpc/include/atomic.h
@@ -1078,13 +1078,13 @@ atomic_testandclear_long(volatile u_long *p, u_int v)
static __inline int
atomic_testandset_long(volatile u_long *p, u_int v)
{
- return (atomic_testandset_int((volatile u_int *)p, v);
+ return (atomic_testandset_int((volatile u_int *)p, v));
}
static __inline int
atomic_testandclear_long(volatile u_long *p, u_int v)
{
- return (atomic_testandclear_int((volatile u_int *)p, v);
+ return (atomic_testandclear_int((volatile u_int *)p, v));
}
#endif