diff options
author | Brian Gerst <brgerst@gmail.com> | 2022-06-06 22:37:58 +0200 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2022-10-19 09:58:49 +0200 |
commit | 695c39bc5b8686a6b27254e60fb830f4989f322d (patch) | |
tree | e4e74bc5f683f59d377c04809d316c88612845a7 /arch/x86/include/asm/elf.h | |
parent | signal/compat: Remove compat_sigset_t override (diff) | |
download | linux-695c39bc5b8686a6b27254e60fb830f4989f322d.tar.xz linux-695c39bc5b8686a6b27254e60fb830f4989f322d.zip |
x86: Remove __USER32_DS
Replace all users with the equivalent __USER_DS, which will make merging
native and compat code simpler.
Signed-off-by: Brian Gerst <brgerst@gmail.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: "Eric W. Biederman" <ebiederm@xmission.com>
Link: https://lore.kernel.org/r/20220606203802.158958-5-brgerst@gmail.com
Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'arch/x86/include/asm/elf.h')
-rw-r--r-- | arch/x86/include/asm/elf.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86/include/asm/elf.h b/arch/x86/include/asm/elf.h index cb0ff1055ab1..be8b58da63b9 100644 --- a/arch/x86/include/asm/elf.h +++ b/arch/x86/include/asm/elf.h @@ -152,10 +152,6 @@ do { \ (elf_check_arch_ia32(x) || \ (IS_ENABLED(CONFIG_X86_X32_ABI) && (x)->e_machine == EM_X86_64)) -#if __USER32_DS != __USER_DS -# error "The following code assumes __USER32_DS == __USER_DS" -#endif - static inline void elf_common_init(struct thread_struct *t, struct pt_regs *regs, const u16 ds) { |