Received: by 10.223.185.116 with SMTP id b49csp2188327wrg; Thu, 15 Feb 2018 07:50:31 -0800 (PST) X-Google-Smtp-Source: AH8x227Pj0h7dqFGgm3Uphu8sMt4MPmqBMOIsgtkm1otrbpszdcVOUFALNGBz4DNreOOJGb0s8wc X-Received: by 2002:a17:902:9343:: with SMTP id g3-v6mr2981838plp.319.1518709831839; Thu, 15 Feb 2018 07:50:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518709831; cv=none; d=google.com; s=arc-20160816; b=OH66jKwq1Y5WI+LzmXrgyAUFh1iTrEkAAG5V6foWT0RsIVDj3HH6E8/61am8t79a9D RzLEhpSiLBgwF/bRc7IiSMPgu3DA9MU8PYiof0mLMew3GyWxVnih5q/YxQN6laSpbGsH gzVxOoK8ci1ZfzBM82lmr52vhLq7enMV5jtDl7GTSLJ3QAPXLPwkfasdhOkJmDmInWwV S/6RWRhXw3aPMY22VCbHmJsVc/l0DUWHGMOtSo/A6Wk/lDCg+ulTnwBUTCdLX2UlzUtg Md57oOMDiCoTZEAR6vJ1psJtzcajNUPRvo9I+EhTBYBNQuC4AwKDh4JZeQgUy5xGigi5 9ebg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=UkFO0MA9Bdt5eF6E+gixuxzpzax4+99otMPDsnMnFU4=; b=e/afAenVUwDjACwkidZEXfcZMTwdbgiyfhp/G7hhtrcAhh2ceE4Go0eHXt20OHOzfB VK3Zv7FQoHEUV5TWTyv8XQrpxdum9V8fzlxMP0nZGS62tEgeIkNP/7rTN4+DTHYrVtDw HPtG2Ur4MepcOcfuIv8Oz4R/R/D3SLwVwiqCZWor0+ncdZUw16eqV6OlnU2aERiAIWfX oRsGrUeb2X9bZoxbSf9PO/rUdA7gwVC4fLNlW+iX28fF1hNHRs4tgs+2xoZ/iVIzOXI3 05w3qXZe81e2tzLSkQmZjTasMqZiuKvmtFrrww5pBkNlejLZFxP7AAnNAJnoO7K9Ccec Neug== 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 bj5-v6si1260179plb.732.2018.02.15.07.50.17; Thu, 15 Feb 2018 07:50:31 -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 S1425057AbeBOPsM (ORCPT + 99 others); Thu, 15 Feb 2018 10:48:12 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:36426 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1425022AbeBOPsE (ORCPT ); Thu, 15 Feb 2018 10:48:04 -0500 Received: from localhost (LFbn-1-12258-90.w90-92.abo.wanadoo.fr [90.92.71.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 010FF1097; Thu, 15 Feb 2018 15:48:03 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Michael Cree , Matt Turner Subject: [PATCH 4.15 170/202] alpha: Fix mixed up args in EXC macro in futex operations Date: Thu, 15 Feb 2018 16:17:50 +0100 Message-Id: <20180215151721.755805971@linuxfoundation.org> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180215151712.768794354@linuxfoundation.org> References: <20180215151712.768794354@linuxfoundation.org> User-Agent: quilt/0.65 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.15-stable review patch. If anyone has any objections, please let me know. ------------------ From: Michael Cree commit 84e455361ec97ea6037d31d42a2955628ea2094b upstream. Fix the typo (mixed up arguments) in the EXC macro in the futex definitions introduced by commit ca282f697381 (alpha: add a helper for emitting exception table entries). Signed-off-by: Michael Cree Signed-off-by: Matt Turner Signed-off-by: Greg Kroah-Hartman --- arch/alpha/include/asm/futex.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) --- a/arch/alpha/include/asm/futex.h +++ b/arch/alpha/include/asm/futex.h @@ -20,8 +20,8 @@ "3: .subsection 2\n" \ "4: br 1b\n" \ " .previous\n" \ - EXC(1b,3b,%1,$31) \ - EXC(2b,3b,%1,$31) \ + EXC(1b,3b,$31,%1) \ + EXC(2b,3b,$31,%1) \ : "=&r" (oldval), "=&r"(ret) \ : "r" (uaddr), "r"(oparg) \ : "memory") @@ -82,8 +82,8 @@ futex_atomic_cmpxchg_inatomic(u32 *uval, "3: .subsection 2\n" "4: br 1b\n" " .previous\n" - EXC(1b,3b,%0,$31) - EXC(2b,3b,%0,$31) + EXC(1b,3b,$31,%0) + EXC(2b,3b,$31,%0) : "+r"(ret), "=&r"(prev), "=&r"(cmp) : "r"(uaddr), "r"((long)(int)oldval), "r"(newval) : "memory");