Message ID | 1437579989-1241-4-git-send-email-stuart.haslam@linaro.org |
---|---|
State | Accepted |
Commit | b8694671766c8673841bbeb73736caac20f22ea4 |
Headers | show
Return-Path: <patchwork-forward+bncBDW4DOG33ALBBBXYX2WQKGQEYRYDHEI@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f72.google.com (mail-la0-f72.google.com [209.85.215.72]) by patches.linaro.org (Postfix) with ESMTPS id 2487020323 for <linaro@patches.linaro.org>; Wed, 22 Jul 2015 15:51:36 +0000 (UTC) Received: by lafd3 with SMTP id d3sf59933099laf.1 for <linaro@patches.linaro.org>; Wed, 22 Jul 2015 08:51:35 -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=VnM8HORJvc70qtB7eTWTnn96xw+3yyQket/v3vAmLos=; b=kKpFVThS7jq5vtIwILn81fn+pzvdsclCHjUf7KbdJyMNcRw7Y2CiMpefCrV4kqc2gg ltH3gMZVda9Igxytjo/mFjeXeksy0CKhkfiDDgnJ2a40Cs8lRXBzGfitMB37yrxIR+YS PqkaSz8J279xaAYWyou5zIv//Kc7bfP8XiakmEHMV4OLUsh/Iq69T/tO+3c8lqdP9nwj cWTzFh1rmVMIfP8zhMf0ZgnkF+K46i4ErAShkwemJ6l9f1gv4MIW+/4NyOD2QpbGP3mG 3+6SWQxR7f3t6f69h45mA43N3V4GoTXDDZ7u1WdHjkAfh4WOBG0Hyr+TnxgZmvfnN8O+ H2JA== X-Gm-Message-State: ALoCoQmoAA3HwSQlYNaQTwVdHobNYqM7CG4iMvhIewVZItGhsg2NCuMAra5x87wvJbkzD1dhyIxh X-Received: by 10.194.179.42 with SMTP id dd10mr1474585wjc.7.1437580295028; Wed, 22 Jul 2015 08:51:35 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.18.227 with SMTP id z3ls90792lad.97.gmail; Wed, 22 Jul 2015 08:51:34 -0700 (PDT) X-Received: by 10.152.23.4 with SMTP id i4mr3018000laf.51.1437580294856; Wed, 22 Jul 2015 08:51:34 -0700 (PDT) Received: from mail-lb0-f171.google.com (mail-lb0-f171.google.com. [209.85.217.171]) by mx.google.com with ESMTPS id ld20si1534331lbb.61.2015.07.22.08.51.34 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Jul 2015 08:51:34 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.171 as permitted sender) client-ip=209.85.217.171; Received: by lbbqi7 with SMTP id qi7so59221734lbb.3 for <patchwork-forward@linaro.org>; Wed, 22 Jul 2015 08:51:34 -0700 (PDT) X-Received: by 10.152.120.135 with SMTP id lc7mr2954823lab.41.1437580294726; Wed, 22 Jul 2015 08:51:34 -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.7.198 with SMTP id l6csp19054lba; Wed, 22 Jul 2015 08:51:33 -0700 (PDT) X-Received: by 10.140.216.82 with SMTP id m79mr4985062qhb.32.1437580292521; Wed, 22 Jul 2015 08:51:32 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id 80si2136339qgj.54.2015.07.22.08.51.30; Wed, 22 Jul 2015 08:51:32 -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 D1F5461B74; Wed, 22 Jul 2015 15:51:30 +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 7973961CCE; Wed, 22 Jul 2015 15:49:22 +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 8248B61B68; Wed, 22 Jul 2015 15:47:05 +0000 (UTC) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by lists.linaro.org (Postfix) with ESMTPS id 1A2D26180C for <lng-odp@lists.linaro.org>; Wed, 22 Jul 2015 15:47:03 +0000 (UTC) Received: by wibxm9 with SMTP id xm9so109000180wib.1 for <lng-odp@lists.linaro.org>; Wed, 22 Jul 2015 08:47:02 -0700 (PDT) X-Received: by 10.180.186.35 with SMTP id fh3mr42857296wic.7.1437580022305; Wed, 22 Jul 2015 08:47:02 -0700 (PDT) Received: from e106441.cambridge.arm.com ([2001:41d0:a:3cb4::abcd]) by smtp.gmail.com with ESMTPSA id ju2sm3994834wid.12.2015.07.22.08.47.00 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 22 Jul 2015 08:47:01 -0700 (PDT) From: Stuart Haslam <stuart.haslam@linaro.org> To: lng-odp@lists.linaro.org Date: Wed, 22 Jul 2015 16:46:22 +0100 Message-Id: <1437579989-1241-4-git-send-email-stuart.haslam@linaro.org> X-Mailer: git-send-email 2.1.1 In-Reply-To: <1437579989-1241-1-git-send-email-stuart.haslam@linaro.org> References: <1437579989-1241-1-git-send-email-stuart.haslam@linaro.org> X-Topics: patch Subject: [lng-odp] [API-NEXT PATCHv4 03/10] linux-generic: cpumask: zero mask before setting X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 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: <https://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="utf-8" Content-Transfer-Encoding: base64 Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" <lng-odp-bounces@lists.linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: stuart.haslam@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.171 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_cpumask.c b/platform/linux-generic/odp_cpumask.c index 1ea7dcb..c28153b 100644 --- a/platform/linux-generic/odp_cpumask.c +++ b/platform/linux-generic/odp_cpumask.c @@ -238,6 +238,7 @@ int odp_cpumask_def_worker(odp_cpumask_t *mask, int num) int odp_cpumask_def_control(odp_cpumask_t *mask, int num ODP_UNUSED) { + odp_cpumask_zero(mask); /* By default all control threads on CPU 0 */ odp_cpumask_set(mask, 0); return 1;