From patchwork Wed Aug 13 19:04:36 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Musta X-Patchwork-Id: 379717 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4D917140090 for ; Thu, 14 Aug 2014 05:06:09 +1000 (EST) Received: from localhost ([::1]:49662 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHds7-0005h5-DN for incoming@patchwork.ozlabs.org; Wed, 13 Aug 2014 15:06:07 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54767) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHdrL-0004cG-M4 for qemu-devel@nongnu.org; Wed, 13 Aug 2014 15:05:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XHdrC-0003sp-Ks for qemu-devel@nongnu.org; Wed, 13 Aug 2014 15:05:19 -0400 Received: from mail-ob0-x231.google.com ([2607:f8b0:4003:c01::231]:57554) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHdrC-0003sl-H5; Wed, 13 Aug 2014 15:05:10 -0400 Received: by mail-ob0-f177.google.com with SMTP id wp18so141264obc.8 for ; Wed, 13 Aug 2014 12:05:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=qNuMMiEA0cNbIlgbMX4qCMpTFkrLutp79mX8N2AXrAI=; b=pt7AajrEuM74dDpUDEW7PjGKH+D4SEDkmehEzz4NVLWpYpLsdcV7gvHnq+wrQw/ENd fhiVKWsgOdQldm/cdlxRRxoyz2eOvD6wJ3NLzhtfmwuK4JzSU7lvnFmp4mC7Qkp1ZbCW YizIer8VtWWJ3aPYrH9usDt67crVQQiuqMkwqhclvIiJ17Tr7LYbsFi3GyAqC1uVdnky N5u7sDQHyCLoP1eRJjCQ+UlgNPJ5dSn5+3AXtRjfX67laO0EF1mziYlPTBBP1/mDWFZD dWudPdxZLb8uyYpyy7xL1bZgBXUPl26Bt8/nS5AyxHs/F5nZzJibGRABOl+9H9Aw4bfW gIqA== X-Received: by 10.60.149.227 with SMTP id ud3mr6940379oeb.53.1407956709932; Wed, 13 Aug 2014 12:05:09 -0700 (PDT) Received: from tmusta-sc.rchland.ibm.com (rchp4.rochester.ibm.com. [129.42.161.36]) by mx.google.com with ESMTPSA id ej4sm3032727obb.28.2014.08.13.12.05.04 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 13 Aug 2014 12:05:09 -0700 (PDT) From: Tom Musta To: qemu-devel@nongnu.org, qemu-ppc@nongnu.org Date: Wed, 13 Aug 2014 14:04:36 -0500 Message-Id: <1407956688-16006-2-git-send-email-tommusta@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1407956688-16006-1-git-send-email-tommusta@gmail.com> References: <1407956688-16006-1-git-send-email-tommusta@gmail.com> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c01::231 Cc: Tom Musta , riku.voipio@linaro.org, agraf@suse.de Subject: [Qemu-devel] [V3 PATCH 01/13] linux-user: PPC64 semid_ds Doesnt Include _unused1 and _unused2 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org The 64 bit PowerPC platforms eliminate the _unused1 and _unused2 elements of the semid_ds structure from . So eliminate these from the target_semid_ds structure. Signed-off-by: Tom Musta --- linux-user/syscall.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index a50229d..540001c 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -2419,9 +2419,13 @@ struct target_semid_ds { struct target_ipc_perm sem_perm; abi_ulong sem_otime; +#if !defined(TARGET_PPC64) abi_ulong __unused1; +#endif abi_ulong sem_ctime; +#if !defined(TARGET_PPC64) abi_ulong __unused2; +#endif abi_ulong sem_nsems; abi_ulong __unused3; abi_ulong __unused4;