Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp719949ybv; Thu, 13 Feb 2020 08:17:56 -0800 (PST) X-Google-Smtp-Source: APXvYqzrAnBMi6IvkP46fF7Vd3WEdv4HvqIG2igji4njRk60yA2YFAUUo62jq/APBaIc54FSgQ5H X-Received: by 2002:a05:6830:1691:: with SMTP id k17mr14443205otr.282.1581610676058; Thu, 13 Feb 2020 08:17:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581610676; cv=none; d=google.com; s=arc-20160816; b=Tz3U+bgqOCWM19EIW1Ct0ACZ8L9xHKM4kgOapulTS7TB5PU6eXx7etaPckhiOAuHR+ PY758PCPYpPLuOKk7LZkSx5QxWrmIafiZmISrXVxprtFmgIAMm5g/+2LYQiyUBh8T/KW si3u1Rny78QoZ0uSfpVUCZYu82Sfrg7rcDkIT3OqN9v8WaG3mSzfD5sgpXZWz7sBmnN8 I+OwrdBzCtZPfuKZ357/EOZCs4wKLSS5NysXq2lcfWTghY/ttsJWvGBfAv6A3UIOuafA A0L6mDT8ALxssfpJg6QE5vToOjXwPIM/6kKXwxji2T244AoE+URrGwfnKXvIj8VU4aGB mSng== 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; bh=ZyxIrdf6S/lFcYUMeYqbrdBVim1oZu8jvsWYOCQZtVc=; b=026R9WrwEbmVrCyjNlBwPK4oQv1FDRn1sbhtXkm2v2kNITBCEwndJXt2MI6S7UunKk DQCgpxhNQG4hxCoD/2ptEosks1jcdvPIm4d98hu6VcL6GHhBYN9b67OKFu3BxemBetOC TUoBhJd6jAobpR0cCfeLOikEeiqj5UXoD/AXmGB/fSR6FKMHTIko2yPldf8UUvWpUkdx FGX3X4X821KICaIse7yp/KDvgxJzvP+KgAwfa8wDww7TCJBTvFppgn2gj/Bu3aC15S8U 1LNB2SrY51sgf0pyHW2vX2LWrrA7CiBN8BFq6V8W6ii2Qig53rgf/QfFKgqj85P2e0gO OQUA== 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 n9si1240183ota.103.2020.02.13.08.17.43; Thu, 13 Feb 2020 08:17:56 -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 S1730365AbgBMQRR (ORCPT + 99 others); Thu, 13 Feb 2020 11:17:17 -0500 Received: from foss.arm.com ([217.140.110.172]:50022 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730278AbgBMQRN (ORCPT ); Thu, 13 Feb 2020 11:17:13 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 239721063; Thu, 13 Feb 2020 08:17:13 -0800 (PST) Received: from e119884-lin.cambridge.arm.com (e119884-lin.cambridge.arm.com [10.1.196.72]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 97AF03F6CF; Thu, 13 Feb 2020 08:17:10 -0800 (PST) From: Vincenzo Frascino To: linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, clang-built-linux@googlegroups.com, x86@kernel.org Cc: catalin.marinas@arm.com, will.deacon@arm.com, arnd@arndb.de, linux@armlinux.org.uk, paul.burton@mips.com, tglx@linutronix.de, luto@kernel.org, mingo@redhat.com, bp@alien8.de, sboyd@kernel.org, salyzyn@android.com, pcc@google.com, 0x7f454c46@gmail.com, ndesaulniers@google.com, avagin@openvz.org Subject: [PATCH 11/19] linux/elfnote.h: Replace elf.h with UAPI equivalent Date: Thu, 13 Feb 2020 16:16:06 +0000 Message-Id: <20200213161614.23246-12-vincenzo.frascino@arm.com> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200213161614.23246-1-vincenzo.frascino@arm.com> References: <20200213161614.23246-1-vincenzo.frascino@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The vDSO library should only include the necessary headers required for a userspace library (UAPI and a minimal set of kernel headers). To make this possible it is necessary to isolate from the kernel headers the common parts that are strictly necessary to build the library. Replace linux/elf.h with UAPI equivalent in elfnote.h to make the header suitable for vDSO inclusion. Signed-off-by: Vincenzo Frascino --- include/linux/elfnote.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/elfnote.h b/include/linux/elfnote.h index f236f5b931b2..594d4e78654f 100644 --- a/include/linux/elfnote.h +++ b/include/linux/elfnote.h @@ -59,7 +59,7 @@ ELFNOTE_END #else /* !__ASSEMBLER__ */ -#include +#include /* * Use an anonymous structure which matches the shape of * Elf{32,64}_Nhdr, but includes the name and desc data. The size and -- 2.25.0