Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp370695pxa; Wed, 19 Aug 2020 03:51:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyASy5QywioQAN6Xio0hhGmIJIvQ+chIokN81J4D8nBQ1v0mSNbyX4QEk4sKcOgMFBefg8v X-Received: by 2002:a17:906:819:: with SMTP id e25mr25510945ejd.95.1597834264972; Wed, 19 Aug 2020 03:51:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597834264; cv=none; d=google.com; s=arc-20160816; b=QyzCETCQmwGRLO150qjBWxxqE05GHFkY3ckN5fik5kclsIkdsw/kkXdDUq2Bba9OsR M/IiWd5gB/QBRemRLCR9iczI2IaQt41u1yx3/NnjMM9Zc8FS+OrEAUWc1UUy2RadWiIr FyDcM0qs3gbN9/wkJEU+d5d/A4zIQEos3ZhEvBqYAwX+zWM9qaiKUioLV62MfYVCLkbb 3e3ZLYcKZsEteAu9DPetsGymur2vTnfz+UPFwrloxI7THARDbb0wIlZxbbKc9nLDYssK M33rM2aLUugUmdjHyijhG1j8ezDVMrWqXn68CTCKmqkp6YaXj+01Nhnk/avokeSRQFM2 Xx7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=YamdiT7KUdqmmTxnW67CqPppCSdh9IO8EVEh2UwrvQo=; b=lucdN9u+yx7tT+VhWvsSYaUq5DAHtRL1ga3dJDIjNwDilyMN460quXFsjFELPELHZ4 h1qqQUL6TNZD2HzaFmXBOEZKQpPvam2cvIdwWD5EUraERjxvk3SquH5HjFdE54B9Vs+P 6TXlCelgAY1fJnd72z/+M//M82Cz6mfJe8XElPJ8rwiXzUcYB6/cHMqtu9amg3jXsTWT 2gIQqURM3gJdEsh9q1SE8kPhnvcejOpzYUulCeG5gAubtJq4/YtjIhrlA5UznzYNnaj3 IyXenat16t9LlqNRwjhcN6X1mNoh/qvhANHWjDOzxmp67FwVfTmNt5gMBSCXvFqShE7n pe6A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gz7si14992745ejb.347.2020.08.19.03.50.41; Wed, 19 Aug 2020 03:51:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728165AbgHSKtp (ORCPT + 99 others); Wed, 19 Aug 2020 06:49:45 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:53989 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727869AbgHSKre (ORCPT ); Wed, 19 Aug 2020 06:47:34 -0400 Received: from ip5f5af70b.dynamic.kabel-deutschland.de ([95.90.247.11] helo=wittgenstein.fritz.box) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1k8Lcx-0006IE-R0; Wed, 19 Aug 2020 10:47:31 +0000 From: Christian Brauner To: linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Jonathan Corbet , Yoshinori Sato , Tony Luck , Fenghua Yu , Geert Uytterhoeven , Ley Foon Tan , "David S. Miller" , Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org, Arnd Bergmann , Steven Rostedt , Stafford Horne , Peter Zijlstra , Kars de Jong , Kees Cook , Greentime Hu , "Eric W. Biederman" , Mauro Carvalho Chehab , Alexandre Chartre , Masami Hiramatsu , Tom Zanussi , Xiao Yang , linux-doc@vger.kernel.org, uclinux-h8-devel@lists.sourceforge.jp, linux-ia64@vger.kernel.org, linux-m68k@lists.linux-m68k.org, sparclinux@vger.kernel.org, kgdb-bugreport@lists.sourceforge.net, linux-kselftest@vger.kernel.org, Linus Torvalds , Christoph Hewllig , Matthew Wilcox , Christian Brauner Subject: [PATCH v2 06/11] sparc: switch to kernel_clone() Date: Wed, 19 Aug 2020 12:46:50 +0200 Message-Id: <20200819104655.436656-7-christian.brauner@ubuntu.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200819104655.436656-1-christian.brauner@ubuntu.com> References: <20200819104655.436656-1-christian.brauner@ubuntu.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The old _do_fork() helper is removed in favor of the new kernel_clone() helper. The latter adheres to naming conventions for kernel internal syscall helpers. Cc: "David S. Miller" Cc: sparclinux@vger.kernel.org Signed-off-by: Christian Brauner --- /* v2 */ unchanged --- arch/sparc/kernel/process.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/sparc/kernel/process.c b/arch/sparc/kernel/process.c index 5234b5ccc0b9..0442ab00518d 100644 --- a/arch/sparc/kernel/process.c +++ b/arch/sparc/kernel/process.c @@ -25,7 +25,7 @@ asmlinkage long sparc_fork(struct pt_regs *regs) .stack = regs->u_regs[UREG_FP], }; - ret = _do_fork(&args); + ret = kernel_clone(&args); /* If we get an error and potentially restart the system * call, we're screwed because copy_thread() clobbered @@ -50,7 +50,7 @@ asmlinkage long sparc_vfork(struct pt_regs *regs) .stack = regs->u_regs[UREG_FP], }; - ret = _do_fork(&args); + ret = kernel_clone(&args); /* If we get an error and potentially restart the system * call, we're screwed because copy_thread() clobbered @@ -96,7 +96,7 @@ asmlinkage long sparc_clone(struct pt_regs *regs) else args.stack = regs->u_regs[UREG_FP]; - ret = _do_fork(&args); + ret = kernel_clone(&args); /* If we get an error and potentially restart the system * call, we're screwed because copy_thread() clobbered -- 2.28.0