Message ID | 20220310140814.265972815@linuxfoundation.org |
---|---|
State | New |
Headers | show
Return-Path: <stable-owner@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 156E3C433EF for <stable@archiver.kernel.org>; Thu, 10 Mar 2022 14:34:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244278AbiCJOfs (ORCPT <rfc822;stable@archiver.kernel.org>); Thu, 10 Mar 2022 09:35:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39274 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244275AbiCJOdN (ORCPT <rfc822;stable@vger.kernel.org>); Thu, 10 Mar 2022 09:33:13 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 169BEBF521; Thu, 10 Mar 2022 06:30:55 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A475D61B23; Thu, 10 Mar 2022 14:30:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B3C11C340E8; Thu, 10 Mar 2022 14:30:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1646922654; bh=DDcQHV5a0KtCCaEURI9eSRlk8zEBFRX7Vfhil/8aT4Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lDLnB0UIyT1NKM+bA+TQkADSthuW3qYfgwnWYh0TDxGW5wWBTNBsvXT+3YanLK9DW mCHKs6g2HHoF+zUEz4nFwHW5sliL9QyqNfq7rkSKE5EcaJw11Opznporjfk/vfDrhP iW2G9zrcydYrY3pFjcbyJ6FTbeJIxhbwsIOWhfiY= From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, stable@vger.kernel.org, Marc Zyngier <maz@kernel.org>, James Morse <james.morse@arm.com>, Nathan Chancellor <nathan@kernel.org>, Catalin Marinas <catalin.marinas@arm.com> Subject: [PATCH 5.15 45/58] arm64: Do not include __READ_ONCE() block in assembly files Date: Thu, 10 Mar 2022 15:19:34 +0100 Message-Id: <20220310140814.265972815@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220310140812.983088611@linuxfoundation.org> References: <20220310140812.983088611@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
None
|
expand
|
--- a/arch/arm64/include/asm/rwonce.h +++ b/arch/arm64/include/asm/rwonce.h @@ -5,7 +5,7 @@ #ifndef __ASM_RWONCE_H #define __ASM_RWONCE_H -#ifdef CONFIG_LTO +#if defined(CONFIG_LTO) && !defined(__ASSEMBLY__) #include <linux/compiler_types.h> #include <asm/alternative-macros.h> @@ -66,7 +66,7 @@ }) #endif /* !BUILD_VDSO */ -#endif /* CONFIG_LTO */ +#endif /* CONFIG_LTO && !__ASSEMBLY__ */ #include <asm-generic/rwonce.h>