diff options
author | 2025-05-23 10:47:06 +0200 | |
---|---|---|
committer | 2025-05-23 11:02:16 +0200 | |
commit | 4e83ae6ec87dddac070ba349d3b839589b1bb957 (patch) | |
tree | 1c1a489cc34187820522d1da79a0072adce14eac /arch | |
parent | Merge patch series "coredump: add coredump socket" (diff) | |
download | wireguard-linux-4e83ae6ec87dddac070ba349d3b839589b1bb957.tar.xz wireguard-linux-4e83ae6ec87dddac070ba349d3b839589b1bb957.zip |
mips, net: ensure that SOCK_COREDUMP is defined
For historical reasons mips has to override the socket enum values but
the defines are all the same. So simply move the ARCH_HAS_SOCKET_TYPES
scope.
Fixes: a9194f88782a ("coredump: add coredump socket")
Suggested-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/include/asm/socket.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/mips/include/asm/socket.h b/arch/mips/include/asm/socket.h index 4724a563c5bf..43a09f0dd3ff 100644 --- a/arch/mips/include/asm/socket.h +++ b/arch/mips/include/asm/socket.h @@ -36,15 +36,6 @@ enum sock_type { SOCK_PACKET = 10, }; -#define SOCK_MAX (SOCK_PACKET + 1) -/* Mask which covers at least up to SOCK_MASK-1. The - * * remaining bits are used as flags. */ -#define SOCK_TYPE_MASK 0xf - -/* Flags for socket, socketpair, paccept */ -#define SOCK_CLOEXEC O_CLOEXEC -#define SOCK_NONBLOCK O_NONBLOCK - #define ARCH_HAS_SOCKET_TYPES 1 #endif /* _ASM_SOCKET_H */ |