git: 62b4e25f058b - main - powerpc: Fix syntax atomic.h
Date: Fri, 14 Jan 2022 11:12:26 UTC
The branch main has been updated by lwhsu:
URL: https://cgit.FreeBSD.org/src/commit/?id=62b4e25f058b9820c8bf61e4664aa82428b0303b
commit 62b4e25f058b9820c8bf61e4664aa82428b0303b
Author: Li-Wen Hsu <lwhsu@FreeBSD.org>
AuthorDate: 2022-01-14 11:11:22 +0000
Commit: Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2022-01-14 11:11:22 +0000
powerpc: Fix syntax atomic.h
Fixes: b5d227b0b27 powerpc: Add atomic_testand_{set,clear}_{int,long}
---
sys/powerpc/include/atomic.h | 4 ++--
1 file 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