]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
um: Remove the call to SUBARCH_EXECVE1 macro
authorTiwei Bie <tiwei.btw@antgroup.com>
Mon, 26 Aug 2024 10:08:13 +0000 (18:08 +0800)
committerRichard Weinberger <richard@nod.at>
Thu, 12 Sep 2024 18:42:22 +0000 (20:42 +0200)
This macro has never been defined by any supported sub-architectures
in tree since it was introduced by commit 1d3468a6643a ("[PATCH uml:
move _kern.c files").

Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/kernel/exec.c

index 2c15bb2c104c16ead8f500cddc0e6d7c7040a4af..cb8b5cd9285c1c9a673ffc499f69a7016d94a6f9 100644 (file)
@@ -35,8 +35,5 @@ void start_thread(struct pt_regs *regs, unsigned long eip, unsigned long esp)
        PT_REGS_IP(regs) = eip;
        PT_REGS_SP(regs) = esp;
        clear_thread_flag(TIF_SINGLESTEP);
-#ifdef SUBARCH_EXECVE1
-       SUBARCH_EXECVE1(regs->regs);
-#endif
 }
 EXPORT_SYMBOL(start_thread);