git: 9e7f03e9c688 - main - linux(4): Drop unncessary struct l_ifconf declaration from amd64/linux
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 04 Mar 2023 09:12:47 UTC
The branch main has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=9e7f03e9c688d495a78f51b5122a012fa52df57b commit 9e7f03e9c688d495a78f51b5122a012fa52df57b Author: Dmitry Chagin <dchagin@FreeBSD.org> AuthorDate: 2023-03-04 09:11:38 +0000 Commit: Dmitry Chagin <dchagin@FreeBSD.org> CommitDate: 2023-03-04 09:11:38 +0000 linux(4): Drop unncessary struct l_ifconf declaration from amd64/linux Its needed only for amd64/linux32 Linuxulator. Differential Revision: https://reviews.freebsd.org/D38793 --- sys/amd64/linux/linux.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/sys/amd64/linux/linux.h b/sys/amd64/linux/linux.h index 09125576d33a..d8de283c0201 100644 --- a/sys/amd64/linux/linux.h +++ b/sys/amd64/linux/linux.h @@ -224,17 +224,6 @@ union l_semun { l_uintptr_t __pad; }; -struct l_ifconf { - int ifc_len; - union { - l_uintptr_t ifcu_buf; - l_uintptr_t ifcu_req; - } ifc_ifcu; -}; - -#define ifc_buf ifc_ifcu.ifcu_buf -#define ifc_req ifc_ifcu.ifcu_req - #define LINUX_ARCH_SET_GS 0x1001 #define LINUX_ARCH_SET_FS 0x1002 #define LINUX_ARCH_GET_FS 0x1003