Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp9322104imu; Sat, 29 Dec 2018 16:26:44 -0800 (PST) X-Google-Smtp-Source: ALg8bN6rhEme94B8TuzKW1Hijz4A6KCs+ROTQ1SwbyptF0gb2mxx/HKEbvGUlEXaGzatWXPE9hHW X-Received: by 2002:a63:1f4e:: with SMTP id q14mr2984490pgm.88.1546129604868; Sat, 29 Dec 2018 16:26:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546129604; cv=none; d=google.com; s=arc-20160816; b=l9UuNm5HgpzTYI1JKSeYLss8xPSphPZLzOoVQeCW53rWK/kyVnsgNDx+2WMPvxp7++ rtGg9KlG1k5woTGUIW8HM9JwVJuUN+KxzH3fHlJc8uYmAdt2cJiIqOtnHCYNxodigCpg ZiAAoTNqLlY49utOeChqsw6pDmQo9W47137/zk/hc/ICPFQyk701st7qqrkj15ncjPcE fB8S2tl6Coakf+NLH3zxHwP66rJlbd8J49kQ7icQsz7BTC+trj4WgB4qt2cv6QOLIuwz SJ6QOGeOytokJ+oN6CUxNmLUQE9kE70risGSdxZth1bnqZu4lBe7Ro3+Mal0cHw2oYyD MeHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=sJxIs+ogTaCYh2Ih+KM7eDRaPn2gbkkwO53Olc7YHvI=; b=BwowNiu5VEf8HqCfXInwlGUJnrKm0Meif6QDudRg7bfAG/BiuSgy2khjKo0DatSHWU KCJtF/TejFa/1y5QlSB/df+oPjISObo+x13MxUYU2HOLe2b74Gm4Adt7Q7vludSmumr1 7Gxhl3Od2TsJfZ3MN6PdJtMaN9iCcw3HhoQqs7aI0Xx/kJaBz2UfyRlTz6th8rd4T36a +PjfEQRUVxmOasNCFXUhRyF1NeQlee/XeFSdUWVgufYXKTpeN7aK7SZNb/zBNJWGAEuP xa5jwQYLFAcuUdtw/9YuXjkfCne/8qrfdi8lBiaDTx/rH9q/26K8aZSWo/wispftde9K FnSw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u13si39143300plq.268.2018.12.29.16.26.29; Sat, 29 Dec 2018 16:26:44 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727783AbeL2SCn (ORCPT + 99 others); Sat, 29 Dec 2018 13:02:43 -0500 Received: from wtarreau.pck.nerim.net ([62.212.114.60]:33024 "EHLO 1wt.eu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727344AbeL2SCm (ORCPT ); Sat, 29 Dec 2018 13:02:42 -0500 Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id wBTI2OaX015842; Sat, 29 Dec 2018 19:02:24 +0100 From: Willy Tarreau To: mingo@kernel.org, paulmck@linux.vnet.ibm.com Cc: rdunlap@infradead.org, linux-kernel@vger.kernel.org, Willy Tarreau Subject: [PATCH 1/4] rcutorture/nolibc: fix the clobbered registers in the MIPS syscall definition Date: Sat, 29 Dec 2018 19:02:16 +0100 Message-Id: <20181229180218.15798-2-w@1wt.eu> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20181229180218.15798-1-w@1wt.eu> References: <20181229180218.15798-1-w@1wt.eu> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org A last-minute checkpatch cleanup caused most of list of clobbered registers to be lost in the MIPS syscall definition. As it is right now the code is not used on MIPS, but it's better to fix it before it gets used. Cc: Paul E. McKenney Signed-off-by: Willy Tarreau --- tools/testing/selftests/rcutorture/bin/nolibc.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/testing/selftests/rcutorture/bin/nolibc.h b/tools/testing/selftests/rcutorture/bin/nolibc.h index f98f5b9..30bd27b 100644 --- a/tools/testing/selftests/rcutorture/bin/nolibc.h +++ b/tools/testing/selftests/rcutorture/bin/nolibc.h @@ -1006,7 +1006,7 @@ struct sys_stat_struct { : "=r"(_num), "=r"(_arg4) \ : "r"(_num) \ : "memory", "cc", "at", "v1", "hi", "lo", \ - \ + "t0", "t1", "t2", "t3", "t4", "t5", "t6", "t7", "t8", "t9" \ ); \ _arg4 ? -_num : _num; \ }) @@ -1025,7 +1025,7 @@ struct sys_stat_struct { : "0"(_num), \ "r"(_arg1) \ : "memory", "cc", "at", "v1", "hi", "lo", \ - \ + "t0", "t1", "t2", "t3", "t4", "t5", "t6", "t7", "t8", "t9" \ ); \ _arg4 ? -_num : _num; \ }) @@ -1045,7 +1045,7 @@ struct sys_stat_struct { : "0"(_num), \ "r"(_arg1), "r"(_arg2) \ : "memory", "cc", "at", "v1", "hi", "lo", \ - \ + "t0", "t1", "t2", "t3", "t4", "t5", "t6", "t7", "t8", "t9" \ ); \ _arg4 ? -_num : _num; \ }) @@ -1066,7 +1066,7 @@ struct sys_stat_struct { : "0"(_num), \ "r"(_arg1), "r"(_arg2), "r"(_arg3) \ : "memory", "cc", "at", "v1", "hi", "lo", \ - \ + "t0", "t1", "t2", "t3", "t4", "t5", "t6", "t7", "t8", "t9" \ ); \ _arg4 ? -_num : _num; \ }) @@ -1087,7 +1087,7 @@ struct sys_stat_struct { : "0"(_num), \ "r"(_arg1), "r"(_arg2), "r"(_arg3), "r"(_arg4) \ : "memory", "cc", "at", "v1", "hi", "lo", \ - \ + "t0", "t1", "t2", "t3", "t4", "t5", "t6", "t7", "t8", "t9" \ ); \ _arg4 ? -_num : _num; \ }) @@ -1110,7 +1110,7 @@ struct sys_stat_struct { : "0"(_num), \ "r"(_arg1), "r"(_arg2), "r"(_arg3), "r"(_arg4), "r"(_arg5) \ : "memory", "cc", "at", "v1", "hi", "lo", \ - \ + "t0", "t1", "t2", "t3", "t4", "t5", "t6", "t7", "t8", "t9" \ ); \ _arg4 ? -_num : _num; \ }) -- 2.9.0