From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.0 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,T_DKIMWL_WL_HIGH,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 62F1FC04AB6 for ; Mon, 3 Jun 2019 09:18:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3D0D827FA5 for ; Mon, 3 Jun 2019 09:18:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1559553489; bh=BDYnkPxTQQUimLxUM35ITG5CODWn8S31IuMErCxchns=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=zuHvH3Y6b5A6slj1Nfgm+bwOQs2akpPQ8GWzG7xpYGipkmmJsTTlVAAqX5Xx6nmIa zWp/JKwt1nQIRq8qabAFmNqPJczxDqSNt3l3U86gXjXch4Nw0phNGpF4XMHPCFNlIA WciXoL/b9G6tCUJmMNHT5i+PUFl+UycIjvz3jDZM= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727845AbfFCJSD (ORCPT ); Mon, 3 Jun 2019 05:18:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:54844 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728141AbfFCJK2 (ORCPT ); Mon, 3 Jun 2019 05:10:28 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7D2EB27E21; Mon, 3 Jun 2019 09:10:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1559553028; bh=BDYnkPxTQQUimLxUM35ITG5CODWn8S31IuMErCxchns=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=1ynd1KrS3020/YADfHCiwh9QNmeCu/HoZqA+D4Msa+30faHDC5bdE2fypb8VIM5R0 iCJKRqD6xNg6KAMOKInWP1GhCcvhJeJ4hP1ITukJ7MuZxHMGoQ4la49iplBGcFhgPT dFHrj8Iy6g0LYhmJvRAmsiDMyEOs7Id76/25pzhs= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Nick Desaulniers , Miguel Ojeda , Nathan Chancellor Subject: [PATCH 4.19 27/32] include/linux/compiler*.h: define asm_volatile_goto Date: Mon, 3 Jun 2019 11:08:21 +0200 Message-Id: <20190603090315.366227169@linuxfoundation.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190603090308.472021390@linuxfoundation.org> References: <20190603090308.472021390@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: ndesaulniers@google.com commit 8bd66d147c88bd441178c7b4c774ae5a185f19b8 upstream. asm_volatile_goto should also be defined for other compilers that support asm goto. Fixes commit 815f0ddb346c ("include/linux/compiler*.h: make compiler-*.h mutually exclusive"). Signed-off-by: Nick Desaulniers Signed-off-by: Miguel Ojeda Signed-off-by: Nathan Chancellor Signed-off-by: Greg Kroah-Hartman --- include/linux/compiler_types.h | 4 ++++ 1 file changed, 4 insertions(+) --- a/include/linux/compiler_types.h +++ b/include/linux/compiler_types.h @@ -151,6 +151,10 @@ struct ftrace_likely_data { #define __assume_aligned(a, ...) #endif +#ifndef asm_volatile_goto +#define asm_volatile_goto(x...) asm goto(x) +#endif + /* Are two types/vars the same type (ignoring qualifiers)? */ #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b))