git: 694614c64ad2 - stable/13 - powerpc: Fix syntax atomic.h

From: Navdeep Parhar <np_at_FreeBSD.org>
Date: Wed, 02 Mar 2022 22:08:57 UTC
The branch stable/13 has been updated by np:

URL: https://cgit.FreeBSD.org/src/commit/?id=694614c64ad214e867731a58358568752a44eaec

commit 694614c64ad214e867731a58358568752a44eaec
Author:     Li-Wen Hsu <lwhsu@FreeBSD.org>
AuthorDate: 2022-01-14 11:11:22 +0000
Commit:     Navdeep Parhar <np@FreeBSD.org>
CommitDate: 2022-03-02 22:08:33 +0000

    powerpc: Fix syntax atomic.h
    
    Fixes:  b5d227b0b27 powerpc: Add atomic_testand_{set,clear}_{int,long}
    (cherry picked from commit 62b4e25f058b9820c8bf61e4664aa82428b0303b)
---
 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 da80cf85fc9f..9b8138c8dbb6 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