Received: by 10.223.185.116 with SMTP id b49csp2273699wrg; Thu, 15 Feb 2018 09:06:18 -0800 (PST) X-Google-Smtp-Source: AH8x227hVXAX2F0/9SBENswJS57Ebi904Sl3EvQ1470jQlHmIIBFq8uyP1lrk3t5+X8RoIkSbcvM X-Received: by 10.98.207.129 with SMTP id b123mr3238453pfg.184.1518714378610; Thu, 15 Feb 2018 09:06:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518714378; cv=none; d=google.com; s=arc-20160816; b=sXw4DYuuDoGr99GCJzkdjggqavPTkhiJZnS8yMKLPIieyNf+najzGk2lG1K+iRueTE ymjKXLt5vfV/AzSvhM9rMbPGtNlVoJ+LbNbwAOOy+27Yv/e+uRR9C+lh6zcB9T+NH6Bo GHqRMluYvNilp9ouroFMRwFPj8xBTakIT+nX9k+V9McRSh1VjB/DDrpzLejOGE7WPE1m 9tEgXCkotnRJqwePliSHscMhGCIgGFwIbROWwZH9g7bZP/BxbbS28VFJtwsKylBpd8m6 SBa2yGF2PbwtJ3Cu54U5+TtCYriCUd7j/MJLpWmncUcOgsjuhHTyF8lUZNC93Se+piGw NlNw== 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=3dsPa5m900M+EnlMgiOtrW6JEy2O9ZAghs3Lsz6MJFs=; b=GquJxIjShhUPEndxOWrQGIJ9fP0uo0r7P6Irw1wawKCt04GKvul0eQ1xH4v0iJeeaS AkIrmG2jfI2PcY9RmwegYNjqIs8LdJjONnSbwgvl295GzeAm14yhtTyw11PEsTT2cGXZ 24OsQl+4YuS5qxxv0+zQGSQ+dMWFSQEM9KD1k1xEbwDvgJq7UIu61C8NYstYIoA8sPTh 2aBHsXSsku4+UxT4FE46mdeUsOfTWDhB6LguURCfLGtMjw6QS+bQZfRZVg+TUOybJ9E7 saSonEpDAviFzgfWI/ZZ7pRNgO1sCTL8pL1f8cA08kGAHfxK9cJ/0NXyK3V1MyO7XsBC l2Sg== 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 d69si763816pgc.60.2018.02.15.09.06.01; Thu, 15 Feb 2018 09:06:18 -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 S1423386AbeBOPis (ORCPT + 99 others); Thu, 15 Feb 2018 10:38:48 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:59536 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1423334AbeBOPip (ORCPT ); Thu, 15 Feb 2018 10:38:45 -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 1DA2B1104; Thu, 15 Feb 2018 15:38:44 +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.14 166/195] alpha: Fix mixed up args in EXC macro in futex operations Date: Thu, 15 Feb 2018 16:17:37 +0100 Message-Id: <20180215151714.296563500@linuxfoundation.org> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180215151705.738773577@linuxfoundation.org> References: <20180215151705.738773577@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.14-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");