From patchwork Wed Feb 17 08:44:19 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Milard X-Patchwork-Id: 62093 Delivered-To: patch@linaro.org Received: by 10.112.43.199 with SMTP id y7csp2129712lbl; Tue, 16 Feb 2016 23:46:44 -0800 (PST) X-Received: by 10.140.248.135 with SMTP id t129mr93649qhc.53.1455695203947; Tue, 16 Feb 2016 23:46:43 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id t5si81295qkt.97.2016.02.16.23.46.43; Tue, 16 Feb 2016 23:46:43 -0800 (PST) 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; dkim=neutral (body hash did not verify) header.i=@linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 87A13617B8; Wed, 17 Feb 2016 07:46:43 +0000 (UTC) Authentication-Results: lists.linaro.org; dkim=fail reason="verification failed; unprotected key" header.d=linaro.org header.i=@linaro.org header.b=kGHk5LMA; dkim-adsp=none (unprotected policy); dkim-atps=neutral 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.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,T_DKIM_INVALID,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 104ED6677C; Wed, 17 Feb 2016 07:46:16 +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 8D647617D4; Wed, 17 Feb 2016 07:46:12 +0000 (UTC) Received: from mail-lb0-f176.google.com (mail-lb0-f176.google.com [209.85.217.176]) by lists.linaro.org (Postfix) with ESMTPS id C53ED66795 for ; Wed, 17 Feb 2016 07:45:30 +0000 (UTC) Received: by mail-lb0-f176.google.com with SMTP id of3so4530049lbc.1 for ; Tue, 16 Feb 2016 23:45:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=QgDY0onY2vt55SPpZsDsxR4moRJAvbed28Ng+ttTonE=; b=kGHk5LMAELbc+ZLREFgzu3c+clmbDRZ4CBuVPP1x1l+UyOQwsivdDzchoAp7BDPgSz rrnCpaLqXEIO5CV2ipHQMVvwFRChntTa3kOpPFrI0xagzURyGNNFeirQun2VoKbDVwIB 4NKJH4T/7/JDFr7uQCCTGcdDsDHSC6zWxmKMo= 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=QgDY0onY2vt55SPpZsDsxR4moRJAvbed28Ng+ttTonE=; b=jWgjm9L2OxM/c1YDfATQD8zMOAsJxDVyrZp+HtFhuwlWmTCf21S5UCO4KLXR8b+jsw 9i2gMIHXKaZKPhHgtQNMhOT+5vIDLL4HxCGf5Aj1RTXDSxYN9e2J+/v3qN+OtetoXyUZ v8FatKwzrzwq8OpRymCdMIXQ65+ddIDmccEV4sx+95rR6unOlOHboHOkMEMtRtngVEbZ Mw4tUpPVJor+gQqTLKWCc4MJXUU58FyAeeujffbnhiUE3Mz25mrEZeeHPd2SJaXrDbYv x3swjuA6bhjPuU4EIPFNIzp0kcvfpo4SGkl7jmC71d8nylrrcCu+pzLvtpCatkJE84Ht SVow== X-Gm-Message-State: AG10YORM2dSeKU8pIwIjH+zYrs0JdZNmM/OfCI2eohtB2+izgbU4dQ3dg6TOdVZXmjJVQPqeH70= X-Received: by 10.112.55.39 with SMTP id o7mr43462lbp.49.1455695129723; Tue, 16 Feb 2016 23:45:29 -0800 (PST) Received: from erachmi-ericsson.ki.sw.ericsson.se (c-83-233-90-46.cust.bredband2.com. [83.233.90.46]) by smtp.gmail.com with ESMTPSA id jr10sm8729lbc.42.2016.02.16.23.45.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 16 Feb 2016 23:45:29 -0800 (PST) From: Christophe Milard To: anders.roxell@linaro.org, mike.holmes@linaro.org, bill.fischofer@linaro.org, petri.savolainen@linaro.org Date: Wed, 17 Feb 2016 09:44:19 +0100 Message-Id: <1455698659-26695-2-git-send-email-christophe.milard@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1455698659-26695-1-git-send-email-christophe.milard@linaro.org> References: <1455698659-26695-1-git-send-email-christophe.milard@linaro.org> X-Topics: patch Cc: lng-odp@lists.linaro.org Subject: [lng-odp] [API-NEXT PATCH 2/2] linux-generic: drv: adding compiler.h 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: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" Signed-off-by: Christophe Milard --- include/odp_drv.h | 1 + platform/linux-generic/include/odp/drv/compiler.h | 34 +++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 platform/linux-generic/include/odp/drv/compiler.h diff --git a/include/odp_drv.h b/include/odp_drv.h index 51fca7a..a6d3a44 100644 --- a/include/odp_drv.h +++ b/include/odp_drv.h @@ -18,6 +18,7 @@ extern C { #endif +#include #include #ifdef __cplusplus diff --git a/platform/linux-generic/include/odp/drv/compiler.h b/platform/linux-generic/include/odp/drv/compiler.h new file mode 100644 index 0000000..24e84c5 --- /dev/null +++ b/platform/linux-generic/include/odp/drv/compiler.h @@ -0,0 +1,34 @@ +/* Copyright (c) 2016, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +/** + * @file + * + * Compiler related + */ + +#ifndef ODPDRV_PLAT_COMPILER_H_ +#define ODPDRV_PLAT_COMPILER_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +/** @addtogroup odpdrv_compiler_optim ODPDRV COMPILER / OPTIMIZATION + * @{ + */ + +/** + * @} + */ + +#include + +#ifdef __cplusplus +} +#endif + +#endif