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
This commit is contained in:
parent
9342164635
commit
e2d168328e
@ -7,7 +7,6 @@
|
|||||||
#include <asm/asm-offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
#include <asm/current.h>
|
#include <asm/current.h>
|
||||||
#include <asm/errno.h>
|
#include <asm/errno.h>
|
||||||
#include <asm/ia32_unistd.h>
|
|
||||||
#include <asm/thread_info.h>
|
#include <asm/thread_info.h>
|
||||||
#include <asm/segment.h>
|
#include <asm/segment.h>
|
||||||
#include <asm/irqflags.h>
|
#include <asm/irqflags.h>
|
||||||
|
@ -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 */
|
|
@ -9,7 +9,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_COMPAT
|
#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_read_32 __NR_ia32_read
|
||||||
#define __NR_seccomp_write_32 __NR_ia32_write
|
#define __NR_seccomp_write_32 __NR_ia32_write
|
||||||
#define __NR_seccomp_exit_32 __NR_ia32_exit
|
#define __NR_seccomp_exit_32 __NR_ia32_exit
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#include <asm/gsseg.h>
|
#include <asm/gsseg.h>
|
||||||
|
|
||||||
#ifdef CONFIG_IA32_EMULATION
|
#ifdef CONFIG_IA32_EMULATION
|
||||||
#include <asm/ia32_unistd.h>
|
#include <asm/unistd_32_ia32.h>
|
||||||
|
|
||||||
static inline void reload_segments(struct sigcontext_32 *sc)
|
static inline void reload_segments(struct sigcontext_32 *sc)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user