From patchwork Sun Dec 22 22:50:04 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 22721 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f72.google.com (mail-pa0-f72.google.com [209.85.220.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id B05CE202A0 for ; Sun, 22 Dec 2013 22:50:41 +0000 (UTC) Received: by mail-pa0-f72.google.com with SMTP id rd3sf13746805pab.3 for ; Sun, 22 Dec 2013 14:50:41 -0800 (PST) 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:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=NPhU8cftalLIvSY2T/aXdZFTJ3RKQBXTb7lR2+VHsS8=; b=GFLx6Wiyz4CDrFkGyruoLjUMzIB+YCPV57c4TwAwwdGbQUEwBJsgS44TlEqkopmm2M SQ6YCBYqxe5Ovtxv+qJFBUqukJogutbBmFCfQNceH97wXZqwY7HX2PXWHsAVqs8R6cxN ed3ujPmlRZLU8rRCsEPLQ50kvSsBNeeGLh/dvjU9kTdBEGcc4DUHAaVc7Qxlxan8YWzO 6dtbKCM5xncQ82rp19XuAxh4FM6rdAD/IW5uXrZRCblu0Dp9I3CKKbv3svaibDj+7t/2 6fFDihn5L6jw1CHzj9wCgtE8OR1vaVGz/B0fGqbeIVrnkKSy65jXL9a7B5KultB+FKO2 g9qA== X-Gm-Message-State: ALoCoQnBcQVfWf0KM80Uf/KYKNgKrVx37AhHIlH+jkh3lA1HW1eaxfRpgUZEaWEpvcTuFKC9dbcu X-Received: by 10.66.250.200 with SMTP id ze8mr8648044pac.29.1387752640998; Sun, 22 Dec 2013 14:50:40 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.25.196 with SMTP id e4ls1383002qeg.6.gmail; Sun, 22 Dec 2013 14:50:40 -0800 (PST) X-Received: by 10.58.186.198 with SMTP id fm6mr235442vec.16.1387752640883; Sun, 22 Dec 2013 14:50:40 -0800 (PST) Received: from mail-ve0-f170.google.com (mail-ve0-f170.google.com [209.85.128.170]) by mx.google.com with ESMTPS id tw10si4057868vec.44.2013.12.22.14.50.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 22 Dec 2013 14:50:40 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.170 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.170; Received: by mail-ve0-f170.google.com with SMTP id oy12so2637114veb.29 for ; Sun, 22 Dec 2013 14:50:40 -0800 (PST) X-Received: by 10.58.254.200 with SMTP id ak8mr11075143ved.12.1387752640810; Sun, 22 Dec 2013 14:50:40 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.59.13.131 with SMTP id ey3csp193921ved; Sun, 22 Dec 2013 14:50:40 -0800 (PST) X-Received: by 10.194.201.225 with SMTP id kd1mr15802564wjc.35.1387752640017; Sun, 22 Dec 2013 14:50:40 -0800 (PST) Received: from mnementh.archaic.org.uk (mnementh.archaic.org.uk. [2001:8b0:1d0::1]) by mx.google.com with ESMTPS id kt10si6093794wjc.124.2013.12.22.14.50.38 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 22 Dec 2013 14:50:39 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of pm215@archaic.org.uk designates 2001:8b0:1d0::1 as permitted sender) client-ip=2001:8b0:1d0::1; Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.80) (envelope-from ) id 1Vurqb-0006D2-0H; Sun, 22 Dec 2013 22:50:09 +0000 From: Peter Maydell To: qemu-devel@nongnu.org Cc: patches@linaro.org, Alexander Graf , Michael Matz , Claudio Fontana , Dirk Mueller , Laurent Desnogues , kvmarm@lists.cs.columbia.edu, Richard Henderson , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Christoffer Dall , Will Newton , Peter Crosthwaite Subject: [PATCH v2 22/25] linux-user: AArch64: define TARGET_CLONE_BACKWARDS Date: Sun, 22 Dec 2013 22:50:04 +0000 Message-Id: <1387752607-23755-23-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1387752607-23755-1-git-send-email-peter.maydell@linaro.org> References: <1387752607-23755-1-git-send-email-peter.maydell@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: peter.maydell@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.170 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Claudio Fontana The AArch64 linux-user support was written before but merged after commit 4ce6243dc621 which cleaned up the handling of the clone() syscall argument order, so we failed to notice that AArch64 also needs TARGET_CLONE_BACKWARDS to be defined. Add this define so that clone and fork syscalls work correctly. Signed-off-by: Claudio Fontana Signed-off-by: Peter Maydell --- linux-user/aarch64/syscall.h | 1 + 1 file changed, 1 insertion(+) diff --git a/linux-user/aarch64/syscall.h b/linux-user/aarch64/syscall.h index aef419e..18f44a8 100644 --- a/linux-user/aarch64/syscall.h +++ b/linux-user/aarch64/syscall.h @@ -7,3 +7,4 @@ struct target_pt_regs { #define UNAME_MACHINE "aarch64" #define UNAME_MINIMUM_RELEASE "3.8.0" +#define TARGET_CLONE_BACKWARDS