git: 219681b57b50 - stable/13 - linux(4): Call semop directly.

From: Dmitry Chagin <dchagin_at_FreeBSD.org>
Date: Fri, 17 Jun 2022 19:39:53 UTC
The branch stable/13 has been updated by dchagin:

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

commit 219681b57b509b50df1cfd730fd53a3e1907ca60
Author:     Dmitry Chagin <dchagin@FreeBSD.org>
AuthorDate: 2022-05-06 16:58:53 +0000
Commit:     Dmitry Chagin <dchagin@FreeBSD.org>
CommitDate: 2022-06-17 19:34:43 +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
    
    (cherry picked from commit f686092664ee6c2c287f77f716db4d72e451c780)
---
 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	{