From patchwork Thu Jan 8 22:34:25 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Fischofer X-Patchwork-Id: 42895 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ee0-f72.google.com (mail-ee0-f72.google.com [74.125.83.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C6EB326CD8 for ; Thu, 8 Jan 2015 22:35:22 +0000 (UTC) Received: by mail-ee0-f72.google.com with SMTP id e53sf6589924eek.3 for ; Thu, 08 Jan 2015 14:35:22 -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=29UN5gEgyuNVhfc60uImrZz6ejSfLztbzS8TtnwwY1Q=; b=eWRPOYzNuBcNzXHt4xT0XVbO6Nwjxv9/WN6R5ltDVpz6fSz+mtBziRbRgLlMut0eVG uXiG0di43UoOe91AJffWbtToKORDRDqeLL1UMqHJx2rCjS3voUzR+yhYGKnJydJJzBzT /pipEGeyGE/X2WUuLCMfTJoDk/AZnTa5HH/hZFziO4lmHX1fThkZzRXScf+a8qD8m3Fa tHuZdioogkfC9vyQClYRxmaT8BDThRCft1b6RZWsSklFFMkCCh4A4IMLh+VkGHV+PN3L InAV0QlUY3CfG0YEG6Q/BbIzoS8J97UKl6cionCeeLd5u7HrDiBciX3DMz8ayaXzJ1qM QLYA== X-Gm-Message-State: ALoCoQl8DUNIjmMyokF4JM57Swcrv/paUJQDTxhYpsN0RvbiWO/N0LF7oHA/qXjOBsq54m3EIm/R X-Received: by 10.194.95.74 with SMTP id di10mr1529882wjb.0.1420756522044; Thu, 08 Jan 2015 14:35:22 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.18.134 with SMTP id w6ls350579lad.63.gmail; Thu, 08 Jan 2015 14:35:21 -0800 (PST) X-Received: by 10.152.21.228 with SMTP id y4mr18228528lae.72.1420756521619; Thu, 08 Jan 2015 14:35:21 -0800 (PST) Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com. [209.85.217.181]) by mx.google.com with ESMTPS id h3si11015806lam.29.2015.01.08.14.35.21 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 08 Jan 2015 14:35:21 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.181 as permitted sender) client-ip=209.85.217.181; Received: by mail-lb0-f181.google.com with SMTP id l4so5405402lbv.12 for ; Thu, 08 Jan 2015 14:35:21 -0800 (PST) X-Received: by 10.152.115.146 with SMTP id jo18mr18254886lab.9.1420756521354; Thu, 08 Jan 2015 14:35:21 -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.9.200 with SMTP id c8csp149746lbb; Thu, 8 Jan 2015 14:35:20 -0800 (PST) X-Received: by 10.229.27.73 with SMTP id h9mr20680149qcc.3.1420756520019; Thu, 08 Jan 2015 14:35:20 -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 h34si9187653qgf.2.2015.01.08.14.34.46 (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 08 Jan 2015 14:35:19 -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 ) id 1Y9Lf9-0007bV-AP; Thu, 08 Jan 2015 22:34:43 +0000 Received: from mail-ob0-f176.google.com ([209.85.214.176]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1Y9Lf3-0007ZS-Jy for lng-odp@lists.linaro.org; Thu, 08 Jan 2015 22:34:37 +0000 Received: by mail-ob0-f176.google.com with SMTP id vb8so10574282obc.7 for ; Thu, 08 Jan 2015 14:34:32 -0800 (PST) X-Received: by 10.202.78.198 with SMTP id c189mr3370789oib.16.1420756472272; Thu, 08 Jan 2015 14:34:32 -0800 (PST) Received: from localhost.localdomain (cpe-24-28-70-239.austin.res.rr.com. [24.28.70.239]) by mx.google.com with ESMTPSA id q4sm3522349obf.24.2015.01.08.14.34.31 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 08 Jan 2015 14:34:31 -0800 (PST) From: Bill Fischofer To: lng-odp@lists.linaro.org Date: Thu, 8 Jan 2015 16:34:25 -0600 Message-Id: <1420756465-13078-1-git-send-email-bill.fischofer@linaro.org> X-Mailer: git-send-email 2.1.0 X-Topics: patch Subject: [lng-odp] [PATCHv3] linux-generic: buffers: remove vestigial asserts for 32-bit support 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: 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.217.181 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 Fix for Bug 1031 to enable linux-generic compiles on 32-bit systems. Signed-off-by: Bill Fischofer --- platform/linux-generic/include/odp_buffer_internal.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/platform/linux-generic/include/odp_buffer_internal.h b/platform/linux-generic/include/odp_buffer_internal.h index 60f06c9..c64802b 100644 --- a/platform/linux-generic/include/odp_buffer_internal.h +++ b/platform/linux-generic/include/odp_buffer_internal.h @@ -136,9 +136,6 @@ typedef struct odp_buffer_hdr_t { typedef struct odp_buffer_hdr_stride { uint8_t pad[ODP_CACHE_LINE_SIZE_ROUNDUP(sizeof(odp_buffer_hdr_t))]; } odp_buffer_hdr_stride; -/* Ensure next header starts from 8 byte align */ -_ODP_STATIC_ASSERT((sizeof(odp_buffer_hdr_t) % 8) == 0, - "ODP_BUFFER_HDR_T__SIZE_ERROR"); typedef struct odp_buf_blk_t { struct odp_buf_blk_t *next;