From patchwork Fri Aug 22 13:24:27 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Riku Voipio X-Patchwork-Id: 35806 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f197.google.com (mail-ob0-f197.google.com [209.85.214.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A336020540 for ; Fri, 22 Aug 2014 13:30:20 +0000 (UTC) Received: by mail-ob0-f197.google.com with SMTP id vb8sf62229843obc.0 for ; Fri, 22 Aug 2014 06:30:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:date :message-id:in-reply-to:references:cc:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=3Sk+knjWDjdfSBa7WskRoadEQJmRPCkvpiK1wQqnp8o=; b=OQ81MMDj8yNHRxS7YXNlhMtzYOqwUEfuHs39yjlxdIN2tZxyxkQkpEVWFF0YMIAeAW Ua0eiftOLaxQCuEDGyru7k9+4Arx9SwBphqTRO9L9pU4YWlKKTlnQIONgjGWq70RGf++ AmL4Tus1JJmf+4Aui/pkFL07KJkk4YMnn7x0kDyifbYhjDAXrKXFXqoOQnbNeM/O8mIh 3UXnVyZy2SIM5HomJejI0Hghw8aBgq/8lhAMj61TCHXykXHIWfg0zQ1cXrrrL0539hao jaLDBhC/DCq01F6W8q4UUKcFJz7hBlWWvJr+DURjOK2ZZzHo/pdQVRz/de9HlLUbObv8 DiDA== X-Gm-Message-State: ALoCoQnn1ItDvKh56XghlbvuLBibpPGQY1IVPMOUTiGRsqlcJev65x5oLCjVGdSxSzVqQu9bHdo/ X-Received: by 10.50.57.111 with SMTP id h15mr6614034igq.3.1408714220206; Fri, 22 Aug 2014 06:30:20 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.40.134 with SMTP id x6ls1139813qgx.45.gmail; Fri, 22 Aug 2014 06:30:20 -0700 (PDT) X-Received: by 10.53.0.164 with SMTP id az4mr165084vdd.52.1408714220103; Fri, 22 Aug 2014 06:30:20 -0700 (PDT) Received: from mail-vc0-f170.google.com (mail-vc0-f170.google.com [209.85.220.170]) by mx.google.com with ESMTPS id sf7si13565083vdb.19.2014.08.22.06.30.20 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 22 Aug 2014 06:30:20 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.170 as permitted sender) client-ip=209.85.220.170; Received: by mail-vc0-f170.google.com with SMTP id lf12so12463153vcb.1 for ; Fri, 22 Aug 2014 06:30:20 -0700 (PDT) X-Received: by 10.52.30.2 with SMTP id o2mr3505742vdh.12.1408714220034; Fri, 22 Aug 2014 06:30:20 -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.221.45.67 with SMTP id uj3csp17009vcb; Fri, 22 Aug 2014 06:30:19 -0700 (PDT) X-Received: by 10.229.231.68 with SMTP id jp4mr8091881qcb.4.1408714219126; Fri, 22 Aug 2014 06:30:19 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id 102si42266739qgl.47.2014.08.22.06.30.19 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 22 Aug 2014 06:30:19 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Received: from localhost ([::1]:37109 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XKov4-0003Py-OS for patch@linaro.org; Fri, 22 Aug 2014 09:30:18 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55362) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XKopn-0006Vy-GF for qemu-devel@nongnu.org; Fri, 22 Aug 2014 09:24:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XKopg-0002C6-UD for qemu-devel@nongnu.org; Fri, 22 Aug 2014 09:24:51 -0400 Received: from [2001:4b98:dc0:45:216:3eff:fe3d:166f] (port=54466 helo=afflict.kos.to) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XKopg-0002BL-O7 for qemu-devel@nongnu.org; Fri, 22 Aug 2014 09:24:44 -0400 Received: from afflict.kos.to (afflict [92.243.29.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by afflict.kos.to (Postfix) with ESMTPSA id C752726560; Fri, 22 Aug 2014 15:24:42 +0200 (CEST) From: riku.voipio@linaro.org To: Peter Maydell , qemu-devel@nongnu.org Date: Fri, 22 Aug 2014 16:24:27 +0300 Message-Id: <035273440b4d12c6e8b1cf2787778064355d21e2.1408712881.git.riku.voipio@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 2001:4b98:dc0:45:216:3eff:fe3d:166f Cc: Tom Musta Subject: [Qemu-devel] [PULL v3 09/22] 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: riku.voipio@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.220.170 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 From: Tom Musta 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 Signed-off-by: Riku Voipio --- linux-user/syscall.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index dae10af..fba7fd2 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -2424,9 +2424,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;