x86/syscall/compat: Remove ia32_unistd.h
authorBrian Gerst <brgerst@gmail.com>
Thu, 21 Mar 2024 21:18:47 +0000 (17:18 -0400)
committerIngo Molnar <mingo@kernel.org>
Fri, 22 Mar 2024 08:37:09 +0000 (09:37 +0100)
This header is now just a wrapper for unistd_32_ia32.h.

Signed-off-by: Brian Gerst <brgerst@gmail.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20240321211847.132473-3-brgerst@gmail.com
arch/x86/entry/entry_64_compat.S
arch/x86/include/asm/ia32_unistd.h [deleted file]
arch/x86/include/asm/seccomp.h
arch/x86/kernel/signal_32.c

index eabf48c4d4b4c30367792f5d9a0b158a9ecf8a04..49cc4b8cfbb5fdac8bf2cbfe986daa3efd42a062 100644 (file)
@@ -7,7 +7,6 @@
 #include <asm/asm-offsets.h>
 #include <asm/current.h>
 #include <asm/errno.h>
-#include <asm/ia32_unistd.h>
 #include <asm/thread_info.h>
 #include <asm/segment.h>
 #include <asm/irqflags.h>
diff --git a/arch/x86/include/asm/ia32_unistd.h b/arch/x86/include/asm/ia32_unistd.h
deleted file mode 100644 (file)
index 7bcb829..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-#ifndef _ASM_X86_IA32_UNISTD_H
-#define _ASM_X86_IA32_UNISTD_H
-
-/*
- * This file contains the system call numbers of the ia32 compat ABI,
- * this is for the kernel only.
- */
-#include <asm/unistd_32_ia32.h>
-
-#endif /* _ASM_X86_IA32_UNISTD_H */
index fef16e398161c422fa25170391390710794b9ff2..42bcd42d70d1236264230f7700d7e725d1e54a17 100644 (file)
@@ -9,7 +9,7 @@
 #endif
 
 #ifdef CONFIG_COMPAT
-#include <asm/ia32_unistd.h>
+#include <asm/unistd_32_ia32.h>
 #define __NR_seccomp_read_32           __NR_ia32_read
 #define __NR_seccomp_write_32          __NR_ia32_write
 #define __NR_seccomp_exit_32           __NR_ia32_exit
index c12624bc82a31b3100497836b1a89a6d8887e16f..ef654530bf5a931a90abfe9427a5224a22bb7998 100644 (file)
@@ -34,7 +34,7 @@
 #include <asm/gsseg.h>
 
 #ifdef CONFIG_IA32_EMULATION
-#include <asm/ia32_unistd.h>
+#include <asm/unistd_32_ia32.h>
 
 static inline void reload_segments(struct sigcontext_32 *sc)
 {