net: whack __mips__ leftovers

Sponsored by:	Rubicon Communications, LLC ("Netgate")
This commit is contained in:
Mateusz Guzik 2023-03-01 11:07:32 +00:00
parent a357112938
commit 3375577631
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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