Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp719827ybv; Thu, 13 Feb 2020 08:17:49 -0800 (PST) X-Google-Smtp-Source: APXvYqwH09aY5wHbX8RcNkz1+ICm5OWfs+LOYptctF0RfJ5NW+JdNA9JeTbpd5MFwjLynP6xzWy4 X-Received: by 2002:aca:dd05:: with SMTP id u5mr3445714oig.91.1581610669720; Thu, 13 Feb 2020 08:17:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581610669; cv=none; d=google.com; s=arc-20160816; b=N69yVoyVqjbEgVKC89ZtbIrJ/60LPS6anQYvwesdG2GUw0LuuD0a/Fzmv+W4LTllCN Mw7BLMG56OHBBCgdZwX4WYbvpRiBevtgIVf5JR+SzBatvraq4ojJkNKs1EihuIhCBdsQ 6UC9PBGQDU4a9qWW8i6A5E+I2WGIvZDesjlDYesfW2Xes3cKCtjdupuz5u0u0OxFFQsp oEidJHDjScWf63LMjRZvGGwCqumPqeTMJEid9UvQ0t8cdo7LucfIMuMJj3/crOl1BUXo q4jPbRSi2ff2h+MAUUgEPt1+l6YKy0oAiGQEe/FFb8pHRAryDFVVCJtM/RTdtZcSnA39 wxxA== 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=1dBG5lYVAh1OayQzwAp26KUM087vlkAxA3Ihy8Q6I00=; b=jU+db5tRy2P4TPFpgU7qugrsZiy79dNoXcl0CwXAzksmvpSEuzAUdps9DOWWHiPGny x0M2ryTlpnHNxnjpZ/ZCYgtlF/8XziLfPJHEDyn5Xq0v4uB4WTc0soutKK0W7BXYGmRL z3gqmSCtlh0lrnnkhcT4mLVHj6/pQsxQHhgwCYrfk1GL9wP0E79z0oBQrgcvisvRHZoZ 9+pfL3cJEoe1Flv9I+Bhd3NL/sR0L6CyKrdHVwhx4QzXABMIXM1Ua7BIVp9MWVgd5z7Y QCNVZZfWF0wpP4Yjmqn4KDTeI5MKeZWCTJz9zXm98Xp6CdJSANP6ipAHabC9V3YjVGRN +Uhg== 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 k1si1465507oic.245.2020.02.13.08.17.35; Thu, 13 Feb 2020 08:17:49 -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 S1730319AbgBMQRN (ORCPT + 99 others); Thu, 13 Feb 2020 11:17:13 -0500 Received: from foss.arm.com ([217.140.110.172]:49988 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730145AbgBMQRL (ORCPT ); Thu, 13 Feb 2020 11:17:11 -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 62B641045; Thu, 13 Feb 2020 08:17:10 -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 D546A3F6CF; Thu, 13 Feb 2020 08:17:07 -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 10/19] common: Introduce processor.h Date: Thu, 13 Feb 2020 16:16:05 +0000 Message-Id: <20200213161614.23246-11-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. Introduce processor.h to contain all the processor specific functions that are suitable for vDSO inclusion. Signed-off-by: Vincenzo Frascino --- include/common/processor.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 include/common/processor.h diff --git a/include/common/processor.h b/include/common/processor.h new file mode 100644 index 000000000000..f9f971cb4235 --- /dev/null +++ b/include/common/processor.h @@ -0,0 +1,14 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2020 ARM Ltd. + */ +#ifndef __COMMON_PROCESSOR_H +#define __COMMON_PROCESSOR_H + +#ifndef __ASSEMBLY__ + +#include + +#endif /* __ASSEMBLY__ */ + +#endif /* __COMMON_PROCESSOR_H */ -- 2.25.0