From patchwork Wed Oct 15 11:43:33 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petri Savolainen X-Patchwork-Id: 38777 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id F095920C4E for ; Wed, 15 Oct 2014 11:44:29 +0000 (UTC) Received: by mail-wi0-f198.google.com with SMTP id hi2sf725980wib.5 for ; Wed, 15 Oct 2014 04:44:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:subject :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:errors-to:sender :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=ftb1xTdS+KOxIWsLgYAwZ3bhnEX5yUhFdTATzjTUvMc=; b=PoRxoYjqKETk7QZI12j9tweVl/spfpfarusnq/Gm80+V57X8T1L0T38kW1nIn5tmkg fzTyDc5VSm3as7G6RvicICyeml8FUSTLhi6ewDUAcZG16/bHekPWGW48WJ/GdppfGrrH iEdCRJc3Xe8n3VWOVDB89cwSG8l0yTXKpHIcfR33Xe2bnun7kAR8VynDNMhh2qy1Daii LEwXIDDx66IGNmDm5Og9/dbfyRg2BLSWs/2JahsMBS0JPMxVVtrOqySTQ7yagHwJc32B q8HGftkBAXJLt4Tan6nYnCO+m0MW8z4utgdJX9THW2TYpeOQ4cGAoLmLl3iXGsnqEavu 7pXw== X-Gm-Message-State: ALoCoQn8UF4Xoe+UzMqUzKyh+qxqe51tIxg4Axe3BVf8DpA/7gV4q0bU3QpUkEIMcIJaQ2L4sibK X-Received: by 10.180.182.164 with SMTP id ef4mr647579wic.0.1413373469173; Wed, 15 Oct 2014 04:44:29 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.204.44 with SMTP id kv12ls47512lac.44.gmail; Wed, 15 Oct 2014 04:44:29 -0700 (PDT) X-Received: by 10.152.206.11 with SMTP id lk11mr11996894lac.42.1413373468991; Wed, 15 Oct 2014 04:44:28 -0700 (PDT) Received: from mail-lb0-f169.google.com (mail-lb0-f169.google.com [209.85.217.169]) by mx.google.com with ESMTPS id r2si30116988lbl.90.2014.10.15.04.44.28 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 15 Oct 2014 04:44:28 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.169 as permitted sender) client-ip=209.85.217.169; Received: by mail-lb0-f169.google.com with SMTP id 10so853831lbg.14 for ; Wed, 15 Oct 2014 04:44:28 -0700 (PDT) X-Received: by 10.153.8.164 with SMTP id dl4mr11670813lad.29.1413373468902; Wed, 15 Oct 2014 04:44:28 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.84.229 with SMTP id c5csp576124lbz; Wed, 15 Oct 2014 04:44:28 -0700 (PDT) X-Received: by 10.224.28.68 with SMTP id l4mr19266525qac.22.1413373467693; Wed, 15 Oct 2014 04:44:27 -0700 (PDT) Received: from ip-10-35-177-41.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id v18si34668420qge.98.2014.10.15.04.44.27 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 15 Oct 2014 04:44:27 -0700 (PDT) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-35-177-41.ec2.internal) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XeN0D-00073G-4v; Wed, 15 Oct 2014 11:44:25 +0000 Received: from mail-qa0-f53.google.com ([209.85.216.53]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XeN06-00072u-GQ for lng-odp@lists.linaro.org; Wed, 15 Oct 2014 11:44:18 +0000 Received: by mail-qa0-f53.google.com with SMTP id v10so658379qac.26 for ; Wed, 15 Oct 2014 04:44:13 -0700 (PDT) X-Received: by 10.224.50.196 with SMTP id a4mr10184073qag.88.1413373453257; Wed, 15 Oct 2014 04:44:13 -0700 (PDT) Received: from localhost.localdomain (ec2-23-23-178-99.compute-1.amazonaws.com. [23.23.178.99]) by mx.google.com with ESMTPSA id u3sm3345421qat.27.2014.10.15.04.44.06 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 15 Oct 2014 04:44:07 -0700 (PDT) From: Petri Savolainen To: lng-odp@lists.linaro.org Date: Wed, 15 Oct 2014 14:43:33 +0300 Message-Id: <1413373413-2941-1-git-send-email-petri.savolainen@linaro.org> X-Mailer: git-send-email 2.1.1 X-Topics: crypto patch Subject: [lng-odp] [PATCH] Add crypto and rwlock into odp.h X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: lng-odp-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: petri.savolainen@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.169 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Signed-off-by: Petri Savolainen Reviewed-by: Anders Roxell --- example/generator/odp_generator.c | 2 +- example/ipsec/odp_ipsec.c | 3 +-- example/ipsec/odp_ipsec_cache.c | 3 +-- example/ipsec/odp_ipsec_fwd_db.c | 2 -- example/ipsec/odp_ipsec_loop_db.c | 2 -- example/ipsec/odp_ipsec_sa_db.c | 2 -- example/ipsec/odp_ipsec_stream.c | 4 +--- platform/linux-generic/include/api/odp.h | 4 ++-- 8 files changed, 6 insertions(+), 16 deletions(-) diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c index eb8b340..9376dc2 100644 --- a/example/generator/odp_generator.c +++ b/example/generator/odp_generator.c @@ -17,7 +17,7 @@ #include #include -#include + #include #include #include diff --git a/example/ipsec/odp_ipsec.c b/example/ipsec/odp_ipsec.c index 2f2dc19..368b9ef 100644 --- a/example/ipsec/odp_ipsec.c +++ b/example/ipsec/odp_ipsec.c @@ -16,8 +16,7 @@ #include #include -#include -#include + #include #include #include diff --git a/example/ipsec/odp_ipsec_cache.c b/example/ipsec/odp_ipsec_cache.c index 01650d0..1397d77 100644 --- a/example/ipsec/odp_ipsec_cache.c +++ b/example/ipsec/odp_ipsec_cache.c @@ -8,8 +8,7 @@ #include #include -#include -#include + #include #include diff --git a/example/ipsec/odp_ipsec_fwd_db.c b/example/ipsec/odp_ipsec_fwd_db.c index 9ed5d00..e067db9 100644 --- a/example/ipsec/odp_ipsec_fwd_db.c +++ b/example/ipsec/odp_ipsec_fwd_db.c @@ -8,8 +8,6 @@ #include #include -#include -#include #include diff --git a/example/ipsec/odp_ipsec_loop_db.c b/example/ipsec/odp_ipsec_loop_db.c index f773352..af4590a 100644 --- a/example/ipsec/odp_ipsec_loop_db.c +++ b/example/ipsec/odp_ipsec_loop_db.c @@ -8,8 +8,6 @@ #include #include -#include -#include #include diff --git a/example/ipsec/odp_ipsec_sa_db.c b/example/ipsec/odp_ipsec_sa_db.c index f6da623..e8679db 100644 --- a/example/ipsec/odp_ipsec_sa_db.c +++ b/example/ipsec/odp_ipsec_sa_db.c @@ -8,8 +8,6 @@ #include #include -#include -#include #include diff --git a/example/ipsec/odp_ipsec_stream.c b/example/ipsec/odp_ipsec_stream.c index fba425c..a90a478 100644 --- a/example/ipsec/odp_ipsec_stream.c +++ b/example/ipsec/odp_ipsec_stream.c @@ -13,9 +13,7 @@ #include #include -#include -#include -#include + #include #include #include diff --git a/platform/linux-generic/include/api/odp.h b/platform/linux-generic/include/api/odp.h index 0ee3faf..6e4f69e 100644 --- a/platform/linux-generic/include/api/odp.h +++ b/platform/linux-generic/include/api/odp.h @@ -23,7 +23,6 @@ extern "C" { #include #include #include - #include #include #include @@ -32,7 +31,6 @@ extern "C" { #include #include #include - #include #include #include @@ -48,6 +46,8 @@ extern "C" { #include #include #include +#include +#include #ifdef __cplusplus }