Message ID | 1419824843-16026-1-git-send-email-mike.holmes@linaro.org |
---|---|
State | Superseded |
Headers | show
Return-Path: <patchwork-forward+bncBCT4HJVWSENBBZU5QOSQKGQEHOCWSMA@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3BC6125B8B for <linaro@patches.linaro.org>; Mon, 29 Dec 2014 03:47:51 +0000 (UTC) Received: by mail-lb0-f200.google.com with SMTP id f15sf7733054lbj.7 for <linaro@patches.linaro.org>; Sun, 28 Dec 2014 19:47:50 -0800 (PST) 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:content-type :content-transfer-encoding:errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=KBPirmgAK7zqrgY87eg/KqJ8/qswMdgrNOYaOBmHVFg=; b=SwEImtj0qg4TajNFeeMm0pkqfpoUATvCGCkLjn20rx6MEcjNbN0hrBqp69JV9uTUTr rHCQwtINFECTTKrxb6vlAOMxszbIDld3l3yVhi7JSaavjXrHfUi9LvGKC5pt3Nkn+Jzv dzpw3AkG5dWKzZupmkeh0Po+CIy9A4Lpt6yhe39/GRH2+7i6vYgyNYKSfalOo7TV/YNZ Dv5V+TcAn4rBXYBuWm+aGhm5nDEz/pdmRHYoFm9I6QGV22JGfHAmsQC4nDiTvTF35pBJ xrcAlT/6Yd1msM2FheeJWGvvDnNBuyW7Vn7gGsw8yhYi5D7qsXLyLykf0lQ+DKMJjV37 2EBA== X-Gm-Message-State: ALoCoQnCdm8TY5GKoSYBDf8DA20d6Z8/MZ6NgOwia78FYRJPW6fiQxZCMAzfbgwTdE9Rdeu05pDb X-Received: by 10.180.19.42 with SMTP id b10mr5626965wie.0.1419824870056; Sun, 28 Dec 2014 19:47:50 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.36.5 with SMTP id m5ls1939687laj.71.gmail; Sun, 28 Dec 2014 19:47:49 -0800 (PST) X-Received: by 10.112.158.40 with SMTP id wr8mr54262274lbb.51.1419824869767; Sun, 28 Dec 2014 19:47:49 -0800 (PST) Received: from mail-lb0-f179.google.com (mail-lb0-f179.google.com. [209.85.217.179]) by mx.google.com with ESMTPS id pr6si8748114lbb.30.2014.12.28.19.47.49 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 28 Dec 2014 19:47:49 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.179 as permitted sender) client-ip=209.85.217.179; Received: by mail-lb0-f179.google.com with SMTP id z11so10236359lbi.24 for <patchwork-forward@linaro.org>; Sun, 28 Dec 2014 19:47:49 -0800 (PST) X-Received: by 10.112.84.225 with SMTP id c1mr32621669lbz.22.1419824869381; Sun, 28 Dec 2014 19:47:49 -0800 (PST) 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.142.69 with SMTP id ru5csp2667865lbb; Sun, 28 Dec 2014 19:47:48 -0800 (PST) X-Received: by 10.224.73.135 with SMTP id q7mr87767116qaj.6.1419824868150; Sun, 28 Dec 2014 19:47:48 -0800 (PST) Received: from ip-10-35-177-41.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id c11si39066275qaw.30.2014.12.28.19.47.46 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 28 Dec 2014 19:47:48 -0800 (PST) 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 <lng-odp-bounces@lists.linaro.org>) id 1Y5RJ1-0005Ph-M3; Mon, 29 Dec 2014 03:47:43 +0000 Received: from mail-qa0-f46.google.com ([209.85.216.46]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from <mike.holmes@linaro.org>) id 1Y5RIv-0005Pc-B5 for lng-odp@lists.linaro.org; Mon, 29 Dec 2014 03:47:37 +0000 Received: by mail-qa0-f46.google.com with SMTP id w8so8670389qac.5 for <lng-odp@lists.linaro.org>; Sun, 28 Dec 2014 19:47:32 -0800 (PST) X-Received: by 10.224.69.200 with SMTP id a8mr87201674qaj.40.1419824852161; Sun, 28 Dec 2014 19:47:32 -0800 (PST) Received: from localhost.localdomain ([98.221.136.245]) by mx.google.com with ESMTPSA id c75sm32644304qge.20.2014.12.28.19.47.31 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 28 Dec 2014 19:47:31 -0800 (PST) From: Mike Holmes <mike.holmes@linaro.org> To: lng-odp@lists.linaro.org Date: Sun, 28 Dec 2014 22:47:23 -0500 Message-Id: <1419824843-16026-1-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 2.1.0 X-Topics: patch Subject: [lng-odp] [PATCH] linux-generic: init: add call to odp_shm_init_local X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Subscribe: <http://lists.linaro.org/mailman/listinfo/lng-odp>, <mailto:lng-odp-request@lists.linaro.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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: mike.holmes@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.179 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 |
diff --git a/platform/linux-generic/odp_init.c b/platform/linux-generic/odp_init.c index 7210430..4d0aa07 100644 --- a/platform/linux-generic/odp_init.c +++ b/platform/linux-generic/odp_init.c @@ -70,6 +70,11 @@ int odp_term_global(void) int odp_init_local(void) { + if (odp_shm_init_local()) { + ODP_ERR("ODP shm local init failed.\n"); + return -1; + } + if (odp_thread_init_local()) { ODP_ERR("ODP thread local init failed.\n"); return -1;
Thread init did not call shm init. Signed-off-by: Mike Holmes <mike.holmes@linaro.org> --- platform/linux-generic/odp_init.c | 5 +++++ 1 file changed, 5 insertions(+)