From patchwork Thu Oct 26 12:00:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 117201 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp680315qgn; Thu, 26 Oct 2017 05:06:33 -0700 (PDT) X-Google-Smtp-Source: ABhQp+Q4pd619qpBALMF/jlVIZMVgi4sLybT8Vd16Th710uEn5hyqFBtl2Kn7GlWHjTt9ohXnLhs X-Received: by 10.237.53.176 with SMTP id c45mr36541154qte.311.1509019593599; Thu, 26 Oct 2017 05:06:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509019593; cv=none; d=google.com; s=arc-20160816; b=N2WsOEhCKv3fKHs4VUQzy5anmClvGu3vCtMujgMX5qSVTdcObubttNrjgjVZMm4V36 xe6yRP2m4t4zZ7AYvVniDlFMeWRCnUPmDtwrq7UOHTebScbMjeZ+2UP0FRT4Yj0rV+sO 2B/qyi/xT+niQhu/0BaYnIROR2fHUSiHRf1dUA9X5z7SZskMG6hYifWDil9YAwRMws+i D7zudVQWOe6fFfAaHohz3TgHxBBZpQvnSLsFkIkhBPl+3i85AAUT7OF9LrBqMS8wDMEG vJUQrQaD0uy7UZng3q8W7yuaVJzHy//MHDotQKH10pylZGxEgGUxPgEcM9DrCeFswtis sRJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=aU41uz6aNQfvvyiLq5hSSQIkj7/fSsxlZSw0rPm+cQQ=; b=tkXIcnvocNfh7/c9rQoobFvvSqP5s5McnmIRzcr1523ytX9czJ5QyfqHWu17KlqzrP DMVhoEzMr8ezMtwRi/TKZuYZQ1nUYNfnuUort819YBYisZErenIIonQVouTjYiORuNKI G5lasz2UWJ3MzFJhY3Opla/161R4J2Km8lDcAVre466gx3tm7ro91foH7WRHRsdcTuxD huIgt5Tq1e/a5yxdRr0Oz5T/qWrLWd0g4ii3mYaTl2lgUrHY6sQyUskpuGd8qwyRRMFR JeH6RL5+jt1IV96uQ7R/PwtkSCDYsmUWbKQfLZ/Fahzvh673Dm8hWxHbkeekr4U9sIgj yDmw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id p65si4156994qke.91.2017.10.26.05.06.33; Thu, 26 Oct 2017 05:06:33 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 31A3A61009; Thu, 26 Oct 2017 12:06:33 +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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, 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 1FEAE6100B; Thu, 26 Oct 2017 12:02:20 +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 477036073F; Thu, 26 Oct 2017 12:01:52 +0000 (UTC) Received: from forward106j.mail.yandex.net (forward106j.mail.yandex.net [5.45.198.249]) by lists.linaro.org (Postfix) with ESMTPS id DB99861023 for ; Thu, 26 Oct 2017 12:00:42 +0000 (UTC) Received: from mxback10o.mail.yandex.net (mxback10o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::24]) by forward106j.mail.yandex.net (Yandex) with ESMTP id 65A3718082A4 for ; Thu, 26 Oct 2017 15:00:41 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback10o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id Zkhc8efrUy-0fUCNLUU; Thu, 26 Oct 2017 15:00:41 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 5wmkfxbo1F-0eFKuWNw; Thu, 26 Oct 2017 15:00:40 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Thu, 26 Oct 2017 15:00:04 +0300 Message-Id: <1509019205-3327-6-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1509019205-3327-1-git-send-email-odpbot@yandex.ru> References: <1509019205-3327-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 261 Subject: [lng-odp] [PATCH 2.0 v1 5/6] linux-gen: modular-framework: make public schedule subsystem header 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" From: Bogdan Pricope Make public schedule subsystem header. Signed-off-by: Bogdan Pricope --- /** Email created from pull request 261 (bogdanPricope:2_0_mf_include_pr) ** https://github.com/Linaro/odp/pull/261 ** Patch: https://github.com/Linaro/odp/pull/261.patch ** Base sha: d37aa7f1c0480273fb0ccfded44a13e3e5a8e42f ** Merge commit sha: 4a263f664ff0e7916e1fe52f09afeed0db9a11dc **/ .../odp/subsystem/spec/schedule_subsystem.h | 0 include/odp_mf.h | 1 + platform/Makefile.inc | 3 ++- platform/linux-dpdk/Makefile.am | 1 - platform/linux-generic/Makefile.am | 1 - platform/linux-generic/schedule/generic.c | 2 +- platform/linux-generic/schedule/iquery.c | 2 +- platform/linux-generic/schedule/scalable.c | 2 +- platform/linux-generic/schedule/sp.c | 2 +- platform/linux-generic/schedule/subsystem.c | 2 +- 10 files changed, 8 insertions(+), 8 deletions(-) rename platform/linux-generic/include/odp_schedule_subsystem.h => include/odp/subsystem/spec/schedule_subsystem.h (100%) diff --git a/platform/linux-generic/include/odp_schedule_subsystem.h b/include/odp/subsystem/spec/schedule_subsystem.h similarity index 100% rename from platform/linux-generic/include/odp_schedule_subsystem.h rename to include/odp/subsystem/spec/schedule_subsystem.h diff --git a/include/odp_mf.h b/include/odp_mf.h index ce5ff5b65..a03040c23 100644 --- a/include/odp_mf.h +++ b/include/odp_mf.h @@ -22,6 +22,7 @@ extern C { #include #include #include +#include #ifdef __cplusplus } diff --git a/platform/Makefile.inc b/platform/Makefile.inc index 6965a0e4b..da1fb52e3 100644 --- a/platform/Makefile.inc +++ b/platform/Makefile.inc @@ -86,7 +86,8 @@ odpsubsystemspecincludedir= $(includedir)/odp/subsytem/spec odpsubsystemspecinclude_HEADERS = \ $(top_srcdir)/include/odp/subsystem/spec/buffer_subsystem.h \ $(top_srcdir)/include/odp/subsystem/spec/pool_subsystem.h \ - $(top_srcdir)/include/odp/subsystem/spec/queue_subsystem.h + $(top_srcdir)/include/odp/subsystem/spec/queue_subsystem.h \ + $(top_srcdir)/include/odp/subsystem/spec/schedule_subsystem.h odpapiabidefaultincludedir= $(includedir)/odp/arch/default/api/abi odpapiabidefaultinclude_HEADERS = \ diff --git a/platform/linux-dpdk/Makefile.am b/platform/linux-dpdk/Makefile.am index 3ac7df565..96915e818 100644 --- a/platform/linux-dpdk/Makefile.am +++ b/platform/linux-dpdk/Makefile.am @@ -208,7 +208,6 @@ noinst_HEADERS = \ ${top_srcdir}/platform/linux-generic/include/odp_queue_if.h \ ${top_srcdir}/platform/linux-generic/include/odp_ring_internal.h \ ${top_srcdir}/platform/linux-generic/include/odp_schedule_if.h \ - ${top_srcdir}/platform/linux-generic/include/odp_schedule_subsystem.h \ ${top_srcdir}/platform/linux-generic/include/odp_sorted_list_internal.h \ ${top_srcdir}/platform/linux-generic/include/odp_shm_internal.h \ ${top_srcdir}/platform/linux-generic/include/odp_time_internal.h \ diff --git a/platform/linux-generic/Makefile.am b/platform/linux-generic/Makefile.am index 8172244b1..027e54fd8 100644 --- a/platform/linux-generic/Makefile.am +++ b/platform/linux-generic/Makefile.am @@ -195,7 +195,6 @@ noinst_HEADERS = \ ${srcdir}/include/odp_schedule_scalable.h \ ${srcdir}/include/odp_schedule_scalable_config.h \ ${srcdir}/include/odp_schedule_scalable_ordered.h \ - ${srcdir}/include/odp_schedule_subsystem.h \ ${srcdir}/include/odp_sorted_list_internal.h \ ${srcdir}/include/odp_shm_internal.h \ ${srcdir}/include/odp_time_internal.h \ diff --git a/platform/linux-generic/schedule/generic.c b/platform/linux-generic/schedule/generic.c index 73fef40cb..39bf2d4f5 100644 --- a/platform/linux-generic/schedule/generic.c +++ b/platform/linux-generic/schedule/generic.c @@ -25,7 +25,7 @@ #include #include #include -#include +#include #include /* Should remove this dependency */ diff --git a/platform/linux-generic/schedule/iquery.c b/platform/linux-generic/schedule/iquery.c index 5de229832..13f6ade26 100644 --- a/platform/linux-generic/schedule/iquery.c +++ b/platform/linux-generic/schedule/iquery.c @@ -25,7 +25,7 @@ #include #include #include -#include +#include #include /* Should remove this dependency */ diff --git a/platform/linux-generic/schedule/scalable.c b/platform/linux-generic/schedule/scalable.c index d8f538202..0266bd1c4 100644 --- a/platform/linux-generic/schedule/scalable.c +++ b/platform/linux-generic/schedule/scalable.c @@ -29,7 +29,7 @@ #include #include #include -#include +#include #include #include diff --git a/platform/linux-generic/schedule/sp.c b/platform/linux-generic/schedule/sp.c index ea7b83422..b00b4f290 100644 --- a/platform/linux-generic/schedule/sp.c +++ b/platform/linux-generic/schedule/sp.c @@ -18,7 +18,7 @@ #include #include #include -#include +#include #include #include diff --git a/platform/linux-generic/schedule/subsystem.c b/platform/linux-generic/schedule/subsystem.c index 99c6141c2..08e2aa752 100644 --- a/platform/linux-generic/schedule/subsystem.c +++ b/platform/linux-generic/schedule/subsystem.c @@ -14,7 +14,7 @@ /* Internal header files */ #include #include -#include +#include ODP_SUBSYSTEM_DEFINE(schedule, "schedule public APIs", SCHEDULE_SUBSYSTEM_VERSION);