From patchwork Tue Jul 26 02:56:17 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian Brooks X-Patchwork-Id: 72756 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp1455335qga; Mon, 25 Jul 2016 19:59:19 -0700 (PDT) X-Received: by 10.55.99.23 with SMTP id x23mr24588338qkb.93.1469501959063; Mon, 25 Jul 2016 19:59:19 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id f189si19708354qke.182.2016.07.25.19.59.18; Mon, 25 Jul 2016 19:59:19 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 97ADB686BE; Tue, 26 Jul 2016 02:59:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 213B0686DB; Tue, 26 Jul 2016 02:57:18 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id DD1D5686BE; Tue, 26 Jul 2016 02:57:10 +0000 (UTC) Received: from mail-io0-f172.google.com (mail-io0-f172.google.com [209.85.223.172]) by lists.linaro.org (Postfix) with ESMTPS id 59C716869A for ; Tue, 26 Jul 2016 02:56:36 +0000 (UTC) Received: by mail-io0-f172.google.com with SMTP id q83so190820175iod.1 for ; Mon, 25 Jul 2016 19:56:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=jO7nAUkJ71yjZ6ZfPM395FNQdcZhLaEZ0xdJpexoTM0=; b=CxTK2TnF2xHjt+HkEMqEyNalP1y1e/vbjU30ildIr/4sUUnqAQEY+UDlzFi+HPwePq lXsMP+neiIDPVd9rOHlzdHYfCNXG9VKvFy0Y0aR9riPqFh7zpHwZIHSxhY+5Vko/Cpti EMhqs8Ni+WRuRsvofHyHtGr6e6gZpuktP5xA+HPzQD/hPQH3yh8uDqr7b+RDUK8Q+iP/ wTBT/8FOtL8RcYqGawR/TkILhDvrllRbKI6UscjF/MaTCh9zl3uqJvHEyvGk/Kkfdkcy rGbiFsoXp3B0fOr9soUsUTHoQQpZOi1ZWqPFS4vOMcM16SB407wPg6hHv9fLMinn6JlY UDLQ== X-Gm-Message-State: AEkoouvBtjiRhpUu56sHpa6Hx1PpcbLGIKr+8/9mxI2XVhVJFCtWzG0DRByhuQG7Z+2CZRErXnQ= X-Received: by 10.157.40.136 with SMTP id s8mr11990751ota.7.1469501795931; Mon, 25 Jul 2016 19:56:35 -0700 (PDT) Received: from localhost.localdomain (68-248-140-212.lightspeed.austtx.sbcglobal.net. [68.248.140.212]) by smtp.gmail.com with ESMTPSA id z189sm12624679oig.29.2016.07.25.19.56.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Jul 2016 19:56:34 -0700 (PDT) From: Brian Brooks To: lng-odp@lists.linaro.org Date: Mon, 25 Jul 2016 21:56:17 -0500 Message-Id: <20160726025625.7343-5-brian.brooks@linaro.org> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20160726025625.7343-1-brian.brooks@linaro.org> References: <20160726025625.7343-1-brian.brooks@linaro.org> X-Topics: Architecture patch Subject: [lng-odp] [PATCH v3 04/12] linux-generic: move cpu_arch.h up two directories X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" Signed-off-by: Brian Brooks --- platform/Makefile.inc | 8 ++++---- platform/linux-generic/Makefile.am | 2 +- platform/linux-generic/arch/default/{odp/api => }/cpu_arch.h | 0 platform/linux-generic/arch/mips64/{odp/api => }/cpu_arch.h | 0 platform/linux-generic/arch/powerpc/{odp/api => }/cpu_arch.h | 0 platform/linux-generic/arch/x86/{odp/api => }/cpu_arch.h | 0 platform/linux-generic/include/odp/api/align.h | 2 +- platform/linux-generic/include/odp/api/cpu.h | 2 +- 8 files changed, 7 insertions(+), 7 deletions(-) rename platform/linux-generic/arch/default/{odp/api => }/cpu_arch.h (100%) rename platform/linux-generic/arch/mips64/{odp/api => }/cpu_arch.h (100%) rename platform/linux-generic/arch/powerpc/{odp/api => }/cpu_arch.h (100%) rename platform/linux-generic/arch/x86/{odp/api => }/cpu_arch.h (100%) -- 2.9.0 diff --git a/platform/Makefile.inc b/platform/Makefile.inc index 2a4255c..e20bd3e 100644 --- a/platform/Makefile.inc +++ b/platform/Makefile.inc @@ -62,15 +62,15 @@ odpapispecinclude_HEADERS = \ $(top_srcdir)/include/odp/api/spec/version.h EXTRA_DIST = \ - arch/default/odp/api/cpu_arch.h \ + arch/default/cpu_arch.h \ arch/default/odp_cpu_arch.c \ arch/default/odp_sysinfo_parse.c \ - arch/mips64/odp/api/cpu_arch.h \ + arch/mips64/cpu_arch.h \ arch/mips64/odp_cpu_arch.c \ arch/mips64/odp_sysinfo_parse.c \ - arch/powerpc/odp/api/cpu_arch.h \ + arch/powerpc/cpu_arch.h \ arch/powerpc/odp_cpu_arch.c \ arch/powerpc/odp_sysinfo_parse.c \ - arch/x86/odp/api/cpu_arch.h \ + arch/x86/cpu_arch.h \ arch/x86/odp_cpu_arch.c \ arch/x86/odp_sysinfo_parse.c diff --git a/platform/linux-generic/Makefile.am b/platform/linux-generic/Makefile.am index 0cfd0fe..8dc2764 100644 --- a/platform/linux-generic/Makefile.am +++ b/platform/linux-generic/Makefile.am @@ -56,7 +56,7 @@ odpapiinclude_HEADERS = \ $(srcdir)/include/odp/api/version.h \ $(srcdir)/include/odp/api/visibility_begin.h \ $(srcdir)/include/odp/api/visibility_end.h \ - $(srcdir)/arch/@ARCH_DIR@/odp/api/cpu_arch.h + $(srcdir)/arch/@ARCH_DIR@/cpu_arch.h odpapiplatincludedir= $(includedir)/odp/api/plat odpapiplatinclude_HEADERS = \ diff --git a/platform/linux-generic/arch/default/odp/api/cpu_arch.h b/platform/linux-generic/arch/default/cpu_arch.h similarity index 100% rename from platform/linux-generic/arch/default/odp/api/cpu_arch.h rename to platform/linux-generic/arch/default/cpu_arch.h diff --git a/platform/linux-generic/arch/mips64/odp/api/cpu_arch.h b/platform/linux-generic/arch/mips64/cpu_arch.h similarity index 100% rename from platform/linux-generic/arch/mips64/odp/api/cpu_arch.h rename to platform/linux-generic/arch/mips64/cpu_arch.h diff --git a/platform/linux-generic/arch/powerpc/odp/api/cpu_arch.h b/platform/linux-generic/arch/powerpc/cpu_arch.h similarity index 100% rename from platform/linux-generic/arch/powerpc/odp/api/cpu_arch.h rename to platform/linux-generic/arch/powerpc/cpu_arch.h diff --git a/platform/linux-generic/arch/x86/odp/api/cpu_arch.h b/platform/linux-generic/arch/x86/cpu_arch.h similarity index 100% rename from platform/linux-generic/arch/x86/odp/api/cpu_arch.h rename to platform/linux-generic/arch/x86/cpu_arch.h diff --git a/platform/linux-generic/include/odp/api/align.h b/platform/linux-generic/include/odp/api/align.h index df9a3c1..0e12b9f 100644 --- a/platform/linux-generic/include/odp/api/align.h +++ b/platform/linux-generic/include/odp/api/align.h @@ -17,7 +17,7 @@ extern "C" { #endif -#include +#include "cpu_arch.h" /** @ingroup odp_compiler_optim * @{ diff --git a/platform/linux-generic/include/odp/api/cpu.h b/platform/linux-generic/include/odp/api/cpu.h index ae04769..4585d35 100644 --- a/platform/linux-generic/include/odp/api/cpu.h +++ b/platform/linux-generic/include/odp/api/cpu.h @@ -17,7 +17,7 @@ extern "C" { #endif -#include +#include "cpu_arch.h" static inline void odp_cpu_pause(void) {