git: 33755776313e - main - net: whack __mips__ leftovers
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 01 Mar 2023 11:08:01 UTC
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