git: f686092664ee - main - linux(4): Call semop directly.

From: Dmitry Chagin <dchagin_at_FreeBSD.org>
Date: Fri, 06 May 2022 17:03:35 UTC
The branch main has been updated by dchagin:

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

commit f686092664ee6c2c287f77f716db4d72e451c780
Author:     Dmitry Chagin <dchagin@FreeBSD.org>
AuthorDate: 2022-05-06 16:58:53 +0000
Commit:     Dmitry Chagin <dchagin@FreeBSD.org>
CommitDate: 2022-05-06 16:58:53 +0000

    linux(4): Call semop directly.
    
    As the Linux semop syscall is not defined in i386, and as it is equal
    to the native semop syscall, call it directly.
    Fix semop definition to match Linux actual one - nsops is size_t type.
    
    MFC after:              2 weeks
---
 sys/amd64/linux/syscalls.master | 8 ++++----
 sys/arm64/linux/syscalls.master | 8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/sys/amd64/linux/syscalls.master b/sys/amd64/linux/syscalls.master
index 2c61a29a2a4e..9cb2a899d882 100644
--- a/sys/amd64/linux/syscalls.master
+++ b/sys/amd64/linux/syscalls.master
@@ -472,11 +472,11 @@
 		    l_int semflg
 		);
 	}
-65	AUE_NULL	STD {
-		int linux_semop(
+65	AUE_NULL	NOPROTO {
+		int semop(
 		    l_int semid,
-		    struct l_sembuf *tsops,
-		    l_uint nsops
+		    struct sembuf *sops,
+		    l_size_t nsops
 		);
 	}
 66	AUE_NULL	STD {
diff --git a/sys/arm64/linux/syscalls.master b/sys/arm64/linux/syscalls.master
index 80271533527c..efdc98771e05 100644
--- a/sys/arm64/linux/syscalls.master
+++ b/sys/arm64/linux/syscalls.master
@@ -1137,11 +1137,11 @@
 192	AUE_NULL	STD	{
 		int linux_semtimedop(void);
 	}
-193	AUE_NULL	STD	{
-		int linux_semop(
+193	AUE_NULL	NOPROTO	{
+		int semop(
 		    l_int semid,
-		    struct l_sembuf *tsops,
-		    l_uint nsops
+		    struct sembuf *sops,
+		    l_size_t nsops
 		);
 	}
 194	AUE_NULL	STD	{