Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp307065pxb; Wed, 3 Feb 2021 06:11:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJw+7RLDQgcua/KdfVBLV1lo3ylty0AdfOJ61eGpjtTBUZTKvjNEvwYiGJb9Ke2slju/wlk3 X-Received: by 2002:a17:906:d8ae:: with SMTP id qc14mr2217112ejb.129.1612361495833; Wed, 03 Feb 2021 06:11:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612361495; cv=none; d=google.com; s=arc-20160816; b=igIctQixG7Va7ZIXKoURsiRgdNtlyUVN2xgbTzB6fWJywmvJa62q7YCS3U7KDjRLlj gpbwNbj+sBsxyCjVOruIiZ7KI7m3e5/4m3CkYHkSbzcp56mxWaw+X1RvzwrpImblmcv1 7KZuMrLOUve5CJSt0QZXE4HJazUDIGkwUp5mclsARDeufXNm5O3LzICmKc2YJ9dd4kPG 350tyS2juYQGztg614HdbnMrg10gFlshhqfwxRl8uM8JSBerL4xGxxJDJ+1Wk2nMcOb5 mFgHSjpu21n0Njnd2vpxlJRVjIrVTxJopWSq2c9xMTGKv8L1ofF78b7Irj1q/RmhiBVj 1vIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:autocrypt:from :references:cc:to:subject:dkim-signature; bh=tdWuP1dLlcRAYRlmAd64ziaMFDQpiREQ6kEOnSTS10s=; b=JQ1dUMf/FJ22GerKarkw7DrO4DFphzXp4MDxYJ3EJcQ1r24zSNzksYElKAIHLQdfb/ gThlDxe+BfomOtNzTik1/mjqahWCxdEw6jRq0ulgHN8m1kF++WQ+b39UDnxBeRpm2vKl Yma9oG+np1KDtDQpSXFnkxz5Ad/kJVMx5deJcW1CLh4gQy075mTniW/l83picFZjymty Z/cL+TWF4Tx8a8cald1QM48eFFpCaR1p5q7mF6GOBXHydPOoG+GvarGa+SQRb8eaUaBQ HHi9gjdzg04gT99kF8e2OcLcQR5Y7zSe/zeLX3S4fzXtAxzuXoXVKXYFnjwvgDHSPRxW k8Pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=D30EuHuA; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t8si1284334edr.190.2021.02.03.06.10.54; Wed, 03 Feb 2021 06:11:35 -0800 (PST) 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; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=D30EuHuA; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231880AbhBCOGv (ORCPT + 99 others); Wed, 3 Feb 2021 09:06:51 -0500 Received: from mout.gmx.net ([212.227.15.15]:58803 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231744AbhBCOGr (ORCPT ); Wed, 3 Feb 2021 09:06:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1612361091; bh=EwqsjVej+GJZLmg7GxtJ+1+ZGj2K1+zRkchJ6wwjYO8=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=D30EuHuAbKeOvqAZ9pDF5R3yDDDbD1BuZiFwhj1vt5nEuJ9sVoNgQjobTndXRnLQL h8xZoKLDcj3ZE5OHigj8YYXUKlFu/CVCYVW+Pvwm23GfIaI84+KH9oWQCT5SBgY4nA NBlqC0M8a5J5b8pLEdlG5JqLOJBw2B+w09jGhkrE= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.20.60] ([92.116.188.146]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N17UW-1m42RN14WY-012X4I; Wed, 03 Feb 2021 15:04:51 +0100 Subject: Re: [PATCH] parisc: Replace test_ti_thread_flag() with test_tsk_thread_flag() To: Tiezhu Yang , James.Bottomley@HansenPartnership.com Cc: linux-parisc@vger.kernel.org, linux-kernel@vger.kernel.org References: <1612330032-6034-1-git-send-email-yangtiezhu@loongson.cn> From: Helge Deller Autocrypt: addr=deller@gmx.de; keydata= mQINBF3Ia3MBEAD3nmWzMgQByYAWnb9cNqspnkb2GLVKzhoH2QD4eRpyDLA/3smlClbeKkWT HLnjgkbPFDmcmCz5V0Wv1mKYRClAHPCIBIJgyICqqUZo2qGmKstUx3pFAiztlXBANpRECgwJ r+8w6mkccOM9GhoPU0vMaD/UVJcJQzvrxVHO8EHS36aUkjKd6cOpdVbCt3qx8cEhCmaFEO6u CL+k5AZQoABbFQEBocZE1/lSYzaHkcHrjn4cQjc3CffXnUVYwlo8EYOtAHgMDC39s9a7S90L 69l6G73lYBD/Br5lnDPlG6dKfGFZZpQ1h8/x+Qz366Ojfq9MuuRJg7ZQpe6foiOtqwKym/zV dVvSdOOc5sHSpfwu5+BVAAyBd6hw4NddlAQUjHSRs3zJ9OfrEx2d3mIfXZ7+pMhZ7qX0Axlq Lq+B5cfLpzkPAgKn11tfXFxP+hcPHIts0bnDz4EEp+HraW+oRCH2m57Y9zhcJTOJaLw4YpTY GRUlF076vZ2Hz/xMEvIJddRGId7UXZgH9a32NDf+BUjWEZvFt1wFSW1r7zb7oGCwZMy2LI/G aHQv/N0NeFMd28z+deyxd0k1CGefHJuJcOJDVtcE1rGQ43aDhWSpXvXKD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Qsxo1DT19sNYLU5dJ5Qxz1+zdNkB9kK9CcTVFXMYehKueBkk5MaU ou0ZH9LCDjtnOKxPuUWstxTXWzsinSpLDIpkP//4fN6asmPo2cSXMXE0iA5WsWAXcK8uZ4jD c2TFWAS8k6RLkk41ZUU8ENX8+qZx/Q== Message-ID: <49529a7d-a8c0-c248-6868-8280c821455d@gmx.de> Date: Wed, 3 Feb 2021 15:04:45 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <1612330032-6034-1-git-send-email-yangtiezhu@loongson.cn> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:xjCXcpsBhR1johp7N02Ku5FNshQfVShjQsOMn3YfmZGf+l6P55i PX3UuZdQ5TSybJG21DTh3FFMKFE7bx0ty1hpHGDh2DuDw81L0wRo4q1Po4EGWnxZnYVi0pA KoGJ5TJVTAuUCipT7sDMvcLOzoroIbZZMQw63HGPh12jQkYcV9kbv2lSfvDY0nRDlh4h+pO +vHcQ/vwlVEYPbmNxVlMg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:R5EWx6/HCY0=:fysVw5iQY23fvZb7EyE9tw inkXO0FaMC4oJrbL+saOksTYAnb5QyY9LO3XUx0y7ZP49E3e7f+kJG77DmFgziOovGEaYI4lo 7hDOSRZnY9ACjUbLBf+90F6qa7OQqmbEm0E8UczuKfZBiScE/IO4jRzH7JwfNeB6QVzD/oM+x DdfgXQ1VKxpgd0+0+IUTjjjxzTatOirgyv19dpdoaUuGOSX2WizsTd4Df4sHJNpFr7VH1LIfU M+nXRgPlrmjqKZVNUjilYwJek+/VFA05gVtV7T6VgMdKTJ/8LpQJWCSMIlf5F8g/agz9aEygs uMkDM9Y+eESWRoGqU5A3vFHuOlI4DPxGTmDatF2hcG5tdyX8Z1jCG0WNz3RdgCh+iolJPrDeG bX2DNP1asap61Xie4Az1+RthzhoGIN+zmpZOsU3AI8YGlwxG6LxcXa4awO1qGsXtdC4tD9W76 8zMjHHzrS1KzNEnL1Vk4gFKYK0mMR9EoAC5xnyyWw4FezdQcBVHR/u5/r92Jgm9mh8fMBpwEe FNvG30A3h6j2TPzyyzPIuySBY54IRt0AlInAIPL+E9/GKoNLcXSPtfl3dT+CtaNG6Mu84zibk 8xhju+7/Y6odx/VrJItBLoF75fNpbHKV4rZyuSBlodeDj3s+FIZSweWwAm6RL659ZPN8J7lwE Wpxhl5Zu21XabILPGlGq5C2YoMETZ5Ientmmbknm515874IaCBkkAkR+2T+3UjvjU+16jy1O9 pmTPY77viI0+XhaAGf2DwLqVvE2KEJJ1T1sRwVt3GaG+8zNaffY0qc+dKAzE8Gsf8OJeGi77o +NPujKjc+3ExPWoBvJATYQtrRXnjIkWPwGXofbljgzsRokz58uC+rxQKdbKx+yP9dKtwbMmF7 CNTHybWJ+1y2rDkQ115w== Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/3/21 6:27 AM, Tiezhu Yang wrote: > Use test_tsk_thread_flag() directly instead of test_ti_thread_flag() to > improve readability when the argument type is struct task_struct, it is > similar with commit 5afc78551bf5 ("arm64: Use test_tsk_thread_flag() for > checking TIF_SINGLESTEP"). > > Signed-off-by: Tiezhu Yang Thanks! Applied to the parisc git tree. Helge > --- > arch/parisc/include/asm/compat.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/parisc/include/asm/compat.h b/arch/parisc/include/asm/= compat.h > index 8f33085..1a609d3 100644 > --- a/arch/parisc/include/asm/compat.h > +++ b/arch/parisc/include/asm/compat.h > @@ -179,7 +179,7 @@ static __inline__ void __user *arch_compat_alloc_use= r_space(long len) > > static inline int __is_compat_task(struct task_struct *t) > { > - return test_ti_thread_flag(task_thread_info(t), TIF_32BIT); > + return test_tsk_thread_flag(t, TIF_32BIT); > } > > static inline int is_compat_task(void) >