Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Mar 2023 09:12:47 GMT
From:      Dmitry Chagin <dchagin@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 9e7f03e9c688 - main - linux(4): Drop unncessary struct l_ifconf declaration from amd64/linux
Message-ID:  <202303040912.3249ClpU078893@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202303040912.3249ClpU078893>