Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 42317C52D7F for ; Fri, 16 Aug 2024 01:55:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=xaPbnHCYbWmnOQhAEH3tFBvJcl0Mc7zmh0X86Vcw7mg=; b=Db/1qNuN12xjtc5WfbrYqffA+Y pNAhw3eC+KDWwVsAQ0X+wIGoVPQAFt+3R60CABkVqPoEgU6QDuiDoD6BbefCuK8er419L2jQEfk6o u2aUmZmJS+tQsvSeohgQ8mZl2zzSBqhcR89aXyuTXppyyjwEwUeXeACuc81abd0OFTQSlXMDsDmEl HireaWv6Ek+bg8A2c8XkZhlPJpjj30f1FBpwYHz1YEpyu8QDCU9dBNNvU2nvItc7nb+dsFlpreSgD gt3Hfmz0zHm0E28yzLQWAepcqv4oIR8it7JLQRFPsG3T4JxjKsSFHioiuXXY9QRicRAZJuyf+W2LL zSNU0u5w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1semBI-0000000BWgV-3NKD; Fri, 16 Aug 2024 01:55:08 +0000 Received: from out0-221.mail.aliyun.com ([140.205.0.221]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1semBC-0000000BWbT-1K1q for linux-um@lists.infradead.org; Fri, 16 Aug 2024 01:55:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=antgroup.com; s=default; t=1723773297; h=From:To:Subject:Date:Message-Id:MIME-Version; bh=xaPbnHCYbWmnOQhAEH3tFBvJcl0Mc7zmh0X86Vcw7mg=; b=LIq6aspXpkE8adPzlmpbYTxw9Lx666rXiM89t/0QBY3T3J9pB4UOtIuAovYTPKReooZePxhYCbh7y4IcfdwRvWppcsLMZRa1biPUlI6NTakuuGxY2xEULuNCjAG/K9OQRwZKBEsGZy1g696m36bGIKTAHbyE2vbHU3vlK1ypUFo= Received: from ubuntu..(mailfrom:tiwei.btw@antgroup.com fp:SMTPD_---.YtEBokH_1723773296) by smtp.aliyun-inc.com; Fri, 16 Aug 2024 09:54:57 +0800 From: "Tiwei Bie" To: richard@nod.at, anton.ivanov@cambridgegreys.com, johannes@sipsolutions.net Cc: , , "Tiwei Bie" Subject: [PATCH 5/6] um: Remove the call to SUBARCH_EXECVE1 macro Date: Fri, 16 Aug 2024 09:54:46 +0800 Message-Id: <20240816015447.320394-6-tiwei.btw@antgroup.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240816015447.320394-1-tiwei.btw@antgroup.com> References: <20240816015447.320394-1-tiwei.btw@antgroup.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240815_185502_606739_D80ABDF2 X-CRM114-Status: UNSURE ( 4.98 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-um@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-um" Errors-To: linux-um-bounces+linux-um=archiver.kernel.org@lists.infradead.org This macro isn't 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 --- arch/um/kernel/exec.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/um/kernel/exec.c b/arch/um/kernel/exec.c index 2c15bb2c104c..cb8b5cd9285c 100644 --- a/arch/um/kernel/exec.c +++ b/arch/um/kernel/exec.c @@ -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); -- 2.34.1