Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Mar 2023 11:08:01 GMT
From:      Mateusz Guzik <mjg@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 33755776313e - main - net: whack __mips__ leftovers
Message-ID:  <202303011108.321B815d061343@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mjg:

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

commit 33755776313e4ebb83da6a742616017d9c946838
Author:     Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2023-03-01 11:07:32 +0000
Commit:     Mateusz Guzik <mjg@FreeBSD.org>
CommitDate: 2023-03-01 11:07:32 +0000

    net: whack __mips__ leftovers
    
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 sys/net/bpf.c     | 2 +-
 sys/net/mp_ring.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/net/bpf.c b/sys/net/bpf.c
index 43eed04375d7..3e4521bb28de 100644
--- a/sys/net/bpf.c
+++ b/sys/net/bpf.c
@@ -1646,7 +1646,7 @@ bpfioctl(struct cdev *dev, u_long cmd, caddr_t addr, int flags,
 #endif
 		{
 			struct timeval *tv = (struct timeval *)addr;
-#if defined(COMPAT_FREEBSD32) && !defined(__mips__)
+#if defined(COMPAT_FREEBSD32)
 			struct timeval32 *tv32;
 			struct timeval tv64;
 
diff --git a/sys/net/mp_ring.h b/sys/net/mp_ring.h
index 6dea325dc435..7a166b89233d 100644
--- a/sys/net/mp_ring.h
+++ b/sys/net/mp_ring.h
@@ -40,7 +40,7 @@ typedef u_int (*mp_ring_drain_t)(struct ifmp_ring *, u_int, u_int);
 typedef u_int (*mp_ring_can_drain_t)(struct ifmp_ring *);
 typedef void (*mp_ring_serial_t)(struct ifmp_ring *);
 
-#if defined(__powerpc__) || defined(__mips__) || defined(__i386__)
+#if defined(__powerpc__) || defined(__i386__)
 #define MP_RING_NO_64BIT_ATOMICS
 #endif
 



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