From patchwork Fri Jul 10 15:07:23 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Fischofer X-Patchwork-Id: 51040 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f72.google.com (mail-wg0-f72.google.com [74.125.82.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E649F2290A for ; Fri, 10 Jul 2015 15:08:47 +0000 (UTC) Received: by wgfk9 with SMTP id k9sf88204026wgf.1 for ; Fri, 10 Jul 2015 08:08:47 -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:delivered-to:from:to:date :message-id:in-reply-to:references:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :mime-version:content-type:content-transfer-encoding:errors-to :sender:x-original-sender:x-original-authentication-results :mailing-list; bh=+UomtEkVrZDSUl1tCm4IyXCp4wIjahGZ1tzSp9sdziA=; b=WbRtECvh8umigGB0havfc7rptEiWVJ4Me1nc8wkQYP9rPSSwXbrLL4KTODwoghtnF6 HtrxLbBfFOhy67UfPSdKpy6O0KFIVTvzsaPWKCONPFWkPj85W1bidYDAcH4XmyDbHd+s 4UNhN7OAz5fEjs77b3CP7J9RrWgwTuGkjfLcEeBu9NG4qYprNA3u3oM1rsX3YzJ9XpVp ij8LIzVzREjR1KUVtxeCkTzgOazGDihK9Wa00ez5WK5QwpCcjRhuCVXdcGO7iBZKgSUj ktum22kePd17yZfAqixHUCIcwMFAo5/Q06YlfB1mCj1WhJe4OQiwW8v2p+hy3o3yqdrH /rXw== X-Gm-Message-State: ALoCoQmPTxbPR/tPtsoGPjeWdpVTFXsfQ0ic/1YGpNhCoTiR9buBib4KznFGtsG/F24ayGBLw+Jq X-Received: by 10.152.26.226 with SMTP id o2mr11083444lag.0.1436540927222; Fri, 10 Jul 2015 08:08:47 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.242.2 with SMTP id wm2ls1156649lac.38.gmail; Fri, 10 Jul 2015 08:08:47 -0700 (PDT) X-Received: by 10.112.172.4 with SMTP id ay4mr20646912lbc.124.1436540927068; Fri, 10 Jul 2015 08:08:47 -0700 (PDT) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com. [209.85.215.54]) by mx.google.com with ESMTPS id yr2si7884966lbb.117.2015.07.10.08.08.47 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Jul 2015 08:08:47 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.54 as permitted sender) client-ip=209.85.215.54; Received: by laar3 with SMTP id r3so267639933laa.0 for ; Fri, 10 Jul 2015 08:08:46 -0700 (PDT) X-Received: by 10.112.128.169 with SMTP id np9mr20379221lbb.73.1436540926923; Fri, 10 Jul 2015 08:08:46 -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.108.230 with SMTP id hn6csp46607lbb; Fri, 10 Jul 2015 08:08:46 -0700 (PDT) X-Received: by 10.140.238.15 with SMTP id j15mr35975747qhc.4.1436540925520; Fri, 10 Jul 2015 08:08:45 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id v107si11105009qge.44.2015.07.10.08.08.44; Fri, 10 Jul 2015 08:08:45 -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; Received: by lists.linaro.org (Postfix, from userid 109) id A2C4362027; Fri, 10 Jul 2015 15:08:44 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from ip-10-142-244-252.ec2.internal (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 4B64462034; Fri, 10 Jul 2015 15:07:38 +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 4B8AB62019; Fri, 10 Jul 2015 15:07:33 +0000 (UTC) Received: from mail-ob0-f173.google.com (mail-ob0-f173.google.com [209.85.214.173]) by lists.linaro.org (Postfix) with ESMTPS id 2EA8661FEF for ; Fri, 10 Jul 2015 15:07:32 +0000 (UTC) Received: by obbop1 with SMTP id op1so192983731obb.2 for ; Fri, 10 Jul 2015 08:07:31 -0700 (PDT) X-Received: by 10.202.49.212 with SMTP id x203mr18705317oix.81.1436540851787; Fri, 10 Jul 2015 08:07:31 -0700 (PDT) Received: from localhost.localdomain (cpe-24-28-70-239.austin.res.rr.com. [24.28.70.239]) by smtp.gmail.com with ESMTPSA id rg1sm4602028oeb.11.2015.07.10.08.07.31 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 10 Jul 2015 08:07:31 -0700 (PDT) From: Bill Fischofer To: lng-odp@lists.linaro.org Date: Fri, 10 Jul 2015 10:07:23 -0500 Message-Id: <1436540845-2890-2-git-send-email-bill.fischofer@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1436540845-2890-1-git-send-email-bill.fischofer@linaro.org> References: <1436540845-2890-1-git-send-email-bill.fischofer@linaro.org> X-Topics: patch Subject: [lng-odp] [prefix=API-NEXT PATCH 2/4] linux-generic: queue: implement odp_queue_param_init routine X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 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" X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: bill.fischofer@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.215.54 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: Bill Fischofer --- platform/linux-generic/odp_queue.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/platform/linux-generic/odp_queue.c b/platform/linux-generic/odp_queue.c index 2546e2b..aa8b99f 100644 --- a/platform/linux-generic/odp_queue.c +++ b/platform/linux-generic/odp_queue.c @@ -548,3 +548,8 @@ void queue_unlock(queue_entry_t *queue) { UNLOCK(&queue->s.lock); } + +void odp_queue_param_init(odp_queue_param_t *params) +{ + memset(params, 0, sizeof(odp_queue_param_t)); +}