Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

x86/syscall/compat: Remove ia32_unistd.h

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

authored by

Brian Gerst and committed by
Ingo Molnar
e2d16832 93421646

+2 -14
-1
arch/x86/entry/entry_64_compat.S
··· 7 7 #include <asm/asm-offsets.h> 8 8 #include <asm/current.h> 9 9 #include <asm/errno.h> 10 - #include <asm/ia32_unistd.h> 11 10 #include <asm/thread_info.h> 12 11 #include <asm/segment.h> 13 12 #include <asm/irqflags.h>
-11
arch/x86/include/asm/ia32_unistd.h
··· 1 - /* SPDX-License-Identifier: GPL-2.0 */ 2 - #ifndef _ASM_X86_IA32_UNISTD_H 3 - #define _ASM_X86_IA32_UNISTD_H 4 - 5 - /* 6 - * This file contains the system call numbers of the ia32 compat ABI, 7 - * this is for the kernel only. 8 - */ 9 - #include <asm/unistd_32_ia32.h> 10 - 11 - #endif /* _ASM_X86_IA32_UNISTD_H */
+1 -1
arch/x86/include/asm/seccomp.h
··· 9 9 #endif 10 10 11 11 #ifdef CONFIG_COMPAT 12 - #include <asm/ia32_unistd.h> 12 + #include <asm/unistd_32_ia32.h> 13 13 #define __NR_seccomp_read_32 __NR_ia32_read 14 14 #define __NR_seccomp_write_32 __NR_ia32_write 15 15 #define __NR_seccomp_exit_32 __NR_ia32_exit
+1 -1
arch/x86/kernel/signal_32.c
··· 34 34 #include <asm/gsseg.h> 35 35 36 36 #ifdef CONFIG_IA32_EMULATION 37 - #include <asm/ia32_unistd.h> 37 + #include <asm/unistd_32_ia32.h> 38 38 39 39 static inline void reload_segments(struct sigcontext_32 *sc) 40 40 {