From patchwork Mon Feb 26 15:04:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Deacon X-Patchwork-Id: 129675 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp301808lja; Mon, 26 Feb 2018 07:07:10 -0800 (PST) X-Google-Smtp-Source: AH8x224CD4Vy8PAOZouy6XTAkewyleu+gqzj7kyGF+l2QEmWbharvSmM8EAZBWDEXtPINDG7xb4y X-Received: by 10.98.103.69 with SMTP id b66mr10971075pfc.114.1519657629959; Mon, 26 Feb 2018 07:07:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519657629; cv=none; d=google.com; s=arc-20160816; b=hsv8HLaICo+QL/GUiKoqY5f1pEkREuH8fdhGJQLd8ku3/U4bnFOUremJZkcWbb8ufu 7TrxJmvXXvv2vWBCRHsclXcIOBb8lgftW1cIyTx8xK+Y2rAx7oUU03p6xflTr1YjOr63 59tV8rfSBLZyjaKOadgei4qiB9S4vL+qw5UXJTjP7t1cST0lUxOHM4hSs5Ph4ZyIdZOC HVrGnk8SA/x3vvZ3G2c/ms3+K/8FfsFCRoakU1vT4A3rG3uSjHPEp00Gg25uD7D3Vjoy cirhaffxl/mvrXvZmi03YpLo65uRv/VAomfEZc/VwtvQo0KZVrxGYcpxerttHs4X4+cu jdAA== 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:arc-authentication-results; bh=oPamFDuTPfWvaHSIje/AwDCdUYnXy06RGnF1Yx4WRzo=; b=zYLrKy4r+pIvE+KTwm3vtouIOzTx+FiA/pyQv3rDKkdfP7YwJxfU6sstx3sK+Yc8mj UWKNXVxiq1/yTP8hTt7MDiAEx0Ov5f+GS+HvQqXp/AuxcPOE7cVyFm6Z/Fuk/lNJ2LIi 4Dz9gHZDT8k3n/35ARTZBgtaY+JDs++1KTUW9hU1dEr/YCVE7BSLQfRyFOX89f4SeLMZ PD2CCsaL6D2m4qg2oYmzsLUYCBM2dpSRY2nKAfZw2EU1c7iSkfbLgWSy8PpiEmDSw8X7 LabA5FGrAFz2gHNAvzL7wva3VBWzF3/XSdjt0lGpxdQQiw5oVHcCJkIF3ZhwBO/KSzcJ ygyw== 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 l14si5597947pgc.615.2018.02.26.07.07.09; Mon, 26 Feb 2018 07:07:09 -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 S1754082AbeBZPGi (ORCPT + 28 others); Mon, 26 Feb 2018 10:06:38 -0500 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:51184 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753996AbeBZPFB (ORCPT ); Mon, 26 Feb 2018 10:05:01 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id DCCA8169F; Mon, 26 Feb 2018 07:05:00 -0800 (PST) Received: from edgewater-inn.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id AEB783F614; Mon, 26 Feb 2018 07:05:00 -0800 (PST) Received: by edgewater-inn.cambridge.arm.com (Postfix, from userid 1000) id C43681AE53AF; Mon, 26 Feb 2018 15:05:01 +0000 (GMT) From: Will Deacon To: linux-kernel@vger.kernel.org Cc: peterz@infradead.org, mingo@kernel.org, linux-arm-kernel@lists.infradead.org, yamada.masahiro@socionext.com, Will Deacon Subject: [RFC PATCH v2 07/12] arm64: lse: Include compiler_types.h and export.h for out-of-line LL/SC Date: Mon, 26 Feb 2018 15:04:55 +0000 Message-Id: <1519657500-15094-8-git-send-email-will.deacon@arm.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1519657500-15094-1-git-send-email-will.deacon@arm.com> References: <1519657500-15094-1-git-send-email-will.deacon@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When the LL/SC atomics are moved out-of-line, they are annotated as notrace and exported to modules. Ensure we pull in the relevant include files so that these macros are defined when we need them. Signed-off-by: Will Deacon --- arch/arm64/include/asm/lse.h | 2 ++ 1 file changed, 2 insertions(+) -- 2.1.4 Acked-by: Mark Rutland diff --git a/arch/arm64/include/asm/lse.h b/arch/arm64/include/asm/lse.h index eec95768eaad..e612a6be113f 100644 --- a/arch/arm64/include/asm/lse.h +++ b/arch/arm64/include/asm/lse.h @@ -4,6 +4,8 @@ #if defined(CONFIG_AS_LSE) && defined(CONFIG_ARM64_LSE_ATOMICS) +#include +#include #include #include