From patchwork Wed Aug 19 12:13:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 247957 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:522:0:0:0:0 with SMTP id h2csp404488ils; Wed, 19 Aug 2020 05:14:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzB3+xZlq0GlfZ2JujYZ9bcMz+AlD9tVrZYiE4pw6GQiwx5CVvXYcqqFkToIxdD8YlGGC8R X-Received: by 2002:a50:a165:: with SMTP id 92mr21071356edj.320.1597839242998; Wed, 19 Aug 2020 05:14:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597839242; cv=none; d=google.com; s=arc-20160816; b=rSQ8ovcnB9SFYxn0s8czzyGLNuRduOQYIjZwoippkQJCdCtMmZ4YB0pTRduvtfzJBT rSLt3RwR0lNME3/kmRbR6vuQN54fvY4yfyu5YBniIml3zYmHuCCRLtYWrpf4ocZXvzLq wbbcNpqEo4ZMGNe5X2CvoGBZdqCQEM4CpD0Uzz1RfU5ipKNQcTaTcFvHaxZwQe1sGJ55 5Qiod9yHHzetZqaGnZ1O1gd3JaVp6GkcmKftUnbNC5qmFJvyDdd1pj1wPyGvGG0ZcI4G jUtnmKrXWGNHtGJd5MPcwoEibPeESvVS7uLwkDTL3TE9BNDFw8FwEkSWPXDYp/pTGAfN VMyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=dWRN3UitV84HGoOlJlYMpiRZtz1R8um5tM2e0ssLEoM=; b=tux6eodHGLAOMS/YDk21wiXtiLzCLU9HufuEjSnbVVaKwdO3vBSv7ClFko64kC9onr lPzQ5KjFfZeESfKP8zWzwF6HoT+Y25qXxeFNCukuKhbqJRNYa/7QWnaewPZ2Uyed3Vow PCTjVOYKqTdesrd1ypOMKcXzFuxdO123C/JxHoS9ai7ivQ6+TRs2FYoyVjTLvHldi+xg XcPociFbAiOG18PXEmofL1pdfWfSwSq5LLT7vHTDDxQmaI56D3vbPAzmqkOGBc5DLOgi Gc1Ff8zWpCG6AicjbCybndW68cM7ER9LM5lX2cNE7udGxvZUUmucHY64kE2a7lk8SOh5 KzUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=zFciX799; spf=pass (google.com: domain of linux-kselftest-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kselftest-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b6si16772273eja.559.2020.08.19.05.14.02; Wed, 19 Aug 2020 05:14:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kselftest-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=zFciX799; spf=pass (google.com: domain of linux-kselftest-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kselftest-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726961AbgHSMOC (ORCPT + 6 others); Wed, 19 Aug 2020 08:14:02 -0400 Received: from mail.kernel.org ([198.145.29.99]:51308 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726798AbgHSMOB (ORCPT ); Wed, 19 Aug 2020 08:14:01 -0400 Received: from localhost (fw-tnat.cambridge.arm.com [217.140.96.140]) (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 5D0C720738; Wed, 19 Aug 2020 12:14:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597839240; bh=cU6dUF2JesHsQbTewHHBbh8QA6GTXyIQPYFFzE/8QWk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=zFciX799O1aIbdBKyUraqxG+H21PFFm1inO08gpDk6VLww0Uaisiyic/PK7vHxChH gjH23BMddwKk9LCZ/K5onXUmlUiS1s4lXQF0vGTPPLwEu7Q+fEJpwGS/9SV9XW+Fk/ 09mO1Drjcl2rZMV3njg2HkvKZ3ZQVdTb3ggP14x0= From: Mark Brown To: Catalin Marinas , Will Deacon Cc: linux-arm-kernel@lists.infradead.org, Vincenzo Frascino , linux-kselftest@vger.kernel.org, Shuah Khan , Mark Brown Subject: [PATCH v3 1/5] arm64: vdso: Provide a define when building the vDSO Date: Wed, 19 Aug 2020 13:13:14 +0100 Message-Id: <20200819121318.52158-2-broonie@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200819121318.52158-1-broonie@kernel.org> References: <20200819121318.52158-1-broonie@kernel.org> MIME-Version: 1.0 Sender: linux-kselftest-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org Provide a define identifying if code is being built for the vDSO to help with writing headers that are shared between the kernel and the vDSO. Signed-off-by: Mark Brown --- arch/arm64/kernel/vdso/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.20.1 diff --git a/arch/arm64/kernel/vdso/Makefile b/arch/arm64/kernel/vdso/Makefile index 45d5cfe46429..88cf0f0b91ed 100644 --- a/arch/arm64/kernel/vdso/Makefile +++ b/arch/arm64/kernel/vdso/Makefile @@ -28,7 +28,7 @@ ldflags-y := -shared -nostdlib -soname=linux-vdso.so.1 --hash-style=sysv \ $(btildflags-y) -T ccflags-y := -fno-common -fno-builtin -fno-stack-protector -ffixed-x18 -ccflags-y += -DDISABLE_BRANCH_PROFILING +ccflags-y += -DDISABLE_BRANCH_PROFILING -D__VDSO__ CFLAGS_REMOVE_vgettimeofday.o = $(CC_FLAGS_FTRACE) -Os $(CC_FLAGS_SCS) $(GCC_PLUGINS_CFLAGS) KBUILD_CFLAGS += $(DISABLE_LTO)