mips, net: ensure that SOCK_COREDUMP is defined
authorChristian Brauner <brauner@kernel.org>
Fri, 23 May 2025 08:47:06 +0000 (10:47 +0200)
committerChristian Brauner <brauner@kernel.org>
Fri, 23 May 2025 09:02:16 +0000 (11:02 +0200)
commit4e83ae6ec87dddac070ba349d3b839589b1bb957
tree1c1a489cc34187820522d1da79a0072adce14eac
parenta3b4ca60f93ff3e8b41fffbf63bb02ef3b169c5e
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>
arch/mips/include/asm/socket.h
include/linux/net.h