The branch main has been updated by dchagin:

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

commit 4fe779900b5d9359969426d44679d28d3178604e
Author:     Dmitry Chagin <dcha...@freebsd.org>
AuthorDate: 2023-10-04 18:18:45 +0000
Commit:     Dmitry Chagin <dcha...@freebsd.org>
CommitDate: 2023-10-04 18:18:45 +0000

    linux(4): Deduplicate SystemV IPC defines from amd64/linux
    
    MFC after:              1 week
---
 sys/amd64/linux/linux.h | 28 ----------------------------
 1 file changed, 28 deletions(-)

diff --git a/sys/amd64/linux/linux.h b/sys/amd64/linux/linux.h
index 4603835e15e6..918b9129f47b 100644
--- a/sys/amd64/linux/linux.h
+++ b/sys/amd64/linux/linux.h
@@ -188,34 +188,6 @@ typedef struct {
 #define        LINUX_MS_NOEXEC         0x0008
 #define        LINUX_MS_REMOUNT        0x0020
 
-/*
- * SystemV IPC defines
- */
-#define        LINUX_IPC_RMID          0
-#define        LINUX_IPC_SET           1
-#define        LINUX_IPC_STAT          2
-#define        LINUX_IPC_INFO          3
-
-#define        LINUX_SHM_LOCK          11
-#define        LINUX_SHM_UNLOCK        12
-#define        LINUX_SHM_STAT          13
-#define        LINUX_SHM_INFO          14
-
-#define        LINUX_SHM_RDONLY        0x1000
-#define        LINUX_SHM_RND           0x2000
-#define        LINUX_SHM_REMAP         0x4000
-
-/* semctl commands */
-#define        LINUX_GETPID            11
-#define        LINUX_GETVAL            12
-#define        LINUX_GETALL            13
-#define        LINUX_GETNCNT           14
-#define        LINUX_GETZCNT           15
-#define        LINUX_SETVAL            16
-#define        LINUX_SETALL            17
-#define        LINUX_SEM_STAT          18
-#define        LINUX_SEM_INFO          19
-
 union l_semun {
        l_int           val;
        l_uintptr_t     buf;

Reply via email to