Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp1608946ybf; Sun, 1 Mar 2020 13:40:20 -0800 (PST) X-Google-Smtp-Source: APXvYqy5Mv9wFy0hcDNUGQaPYnLtCyEAu0KVxr/0wfTbiryg3pWnakFvxb7FZbticvH9hTac5wy5 X-Received: by 2002:aca:2312:: with SMTP id e18mr9993148oie.34.1583098819926; Sun, 01 Mar 2020 13:40:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583098819; cv=none; d=google.com; s=arc-20160816; b=TM9bfTKyUlAeSE9tk41Zb4fgvXfhA+pKtHAHr+CKf8itWE7742yE/uavvg/lBFujEc 0kEkw7I6/Al1/SZisItDVkUKJDjLHds1Rx4Ius/lH+RD1kCUFsakcxv/X9zfMwJDojxD OahL+HiJY9NcBh+m+SVoSaTLtdrcv3YxGX2XvssZPwQs3almpfHRMafgg/b58YXrv3Th qIQdFYkcbfFfX5Z6nbzqaNnh5PZxJKbfKIqb/kceXpWruwmZK/Eyusw/r51nAARh9zi7 xQBbF7vtzwsMqL5TN8tmpGzQ5Ja3KalDu0MsYTgUGz0hIiDrogLAUqT3tVGiAmlslH9D jXJQ== 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 :dkim-signature; bh=YJNHUDzAdLWChqG1N9revlyKtIZEHKpvhkJX7T9UBbE=; b=MKX0XFeiUnxfxGGo6f9Dygg84GpsyHosUe8sOnMCh+tHswCHnc+NhR5u8jlGeX3U8x 7ZahrLxfO40B28fEZJXxVzEW+mK3f7KdB7qXKeC68UCEZJPB+E7hhxfcZ6srl4dES4Zz QzNhprAQ+g6xWWktmod46sixW2EycA6JFhMp/DLopxXQoafgBhCGEiCu+SGaNKbkEnId VvFtlLpOcBy1Ss1bYeZKiVFas5jLNwsQ6yAyvzfCgTFE+eYmzonuTWUOsSak72hryQk4 wFThNe6cahEKd8IyUcCchuV9QIoReUgqAFghHflg/geJ2ay2/64ppTzkDPiKmZtIXMug R7+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=LZ6By73B; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m11si2984266otf.146.2020.03.01.13.40.08; Sun, 01 Mar 2020 13:40:19 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=LZ6By73B; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726785AbgCAVjQ (ORCPT + 99 others); Sun, 1 Mar 2020 16:39:16 -0500 Received: from mail-pj1-f67.google.com ([209.85.216.67]:35436 "EHLO mail-pj1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726050AbgCAVjP (ORCPT ); Sun, 1 Mar 2020 16:39:15 -0500 Received: by mail-pj1-f67.google.com with SMTP id s8so1751610pjq.0 for ; Sun, 01 Mar 2020 13:39:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=YJNHUDzAdLWChqG1N9revlyKtIZEHKpvhkJX7T9UBbE=; b=LZ6By73BdbPoU4r2bSGdOY1WV4P79kzob+KJaemZh0Kocoq9IBzXEUB8EMLoHA8d+r +fJU7jB6rXoUjuwCQW1ejO7mhiN1R4AzzNaGxaj1oL/gEU+qbP+5hCIqqFG2ZxUhwPsi bwQLZBtKpe0qBgQky2613dMqBpP+Ka72x7aAAVhvgpwBD9tB/wmBKqYc6NNaBsfWVdsR wEM26x8gzEPOi0yTWprBD1ZKKyOeJKhz/uK65RV45d5GywNLJ+64hXz0h9UpF4a5eQL3 E2THmIEd0WmZYvJIszGQWG4NMSU6Q9VgvZMN9jRHWM86/DZ7gklZETfu3WhxvxCIqcAC CHTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=YJNHUDzAdLWChqG1N9revlyKtIZEHKpvhkJX7T9UBbE=; b=Jn+IVJ/rexDecO3wbTFDrIFWV8Znb4rKdfbXEZQC0ZX1sPekF/CQbGJgRZ4rZF1YSD 0CrbZ44NOVTn+48rKi5pedV4r113Q29rTC1FSvp+55bJmoI/NkCyK6mZEXY/M12Gx7DD FCmkPIzz9nfFozCVZbZTcSTaKvenGSrghqEjXmy0r/m2goBtoEVi7WeQ1gTb8dnnDvR4 WasTwYMejtTDhTeoDOqu50peYxYspdNFxf1GXf2cOzuEDHRCPAlpqjg5hjCbcQigdjaI 0sLTspQeTfFYfN9Uuj0O+XDf4yDvj2OHIsiCzZcmtXtelmTLFJQG7t1LpmFMU8JbSP5J RlAw== X-Gm-Message-State: ANhLgQ3FjiaIHl8/vEbQ64nTFYPcz1awQ+yaN+ZwRkscv31fpNRdFu8G cobPY3HhpaOD4iDAUhKFI57oMVWA X-Received: by 2002:a17:902:5998:: with SMTP id p24mr7056846pli.215.1583098753022; Sun, 01 Mar 2020 13:39:13 -0800 (PST) Received: from localhost (g183.222-224-185.ppp.wakwak.ne.jp. [222.224.185.183]) by smtp.gmail.com with ESMTPSA id c15sm17184087pgk.66.2020.03.01.13.39.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Mar 2020 13:39:12 -0800 (PST) From: Stafford Horne To: LKML Cc: Openrisc , Stafford Horne , Christian Brauner , Jonas Bonn , Stefan Kristiansson , Allison Randal , Greg Kroah-Hartman , Thomas Gleixner Subject: [PATCH v2 3/3] openrisc: Cleanup copy_thread_tls docs and comments Date: Mon, 2 Mar 2020 06:38:51 +0900 Message-Id: <20200301213851.8096-4-shorne@gmail.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20200301213851.8096-1-shorne@gmail.com> References: <20200301213851.8096-1-shorne@gmail.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 Previously copy_thread_tls was copy_thread and before that something else. Remove the documentation about the regs parameter that didn't exist in either version. Next, fix comment wrapping and details about how TLS pointer gets to the copy_thread_tls function. Signed-off-by: Stafford Horne Acked-by: Christian Brauner --- arch/openrisc/kernel/process.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/openrisc/kernel/process.c b/arch/openrisc/kernel/process.c index 5caa47f7de4f..6bcdca424e11 100644 --- a/arch/openrisc/kernel/process.c +++ b/arch/openrisc/kernel/process.c @@ -122,7 +122,6 @@ extern asmlinkage void ret_from_fork(void); * @usp: user stack pointer or fn for kernel thread * @arg: arg to fn for kernel thread; always NULL for userspace thread * @p: the newly created task - * @regs: CPU context to copy for userspace thread; always NULL for kthread * @tls: the Thread Local Storage pointer for the new process * * At the top of a newly initialized kernel stack are two stacked pt_reg -- 2.21.0