From patchwork Fri Sep 19 01:35:20 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 37629 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 788B72054D for ; Fri, 19 Sep 2014 01:36:28 +0000 (UTC) Received: by mail-wi0-f198.google.com with SMTP id hi2sf1188938wib.1 for ; Thu, 18 Sep 2014 18:36:27 -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:cc:subject :date:message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=mvl7ikNxTZT4WARiKRH5jP40hy4N0hBYclxIEQ1qOps=; b=dInbXHuoCVaVMYXfRI4MOdB3dsO5jmizMPRcP90fX56aYKA3uL8lM7EbEoykF/IOCX /p2fClOk+t1sbSnfcTT4CgzHRIe3qlanRvQzkaBD6okzhaegPud9anhk23vS7Wh/5/1g sioBBfvdOLG/yY9Uz4DRvzsAn7zfHFk8igviqX9r+rv8vd6JFmYQ7jI5SYSzRVJkLG4L Od0eMQWjruZs12RbCE75csXfBhvHDXrCCP0G9WZRC3KlKfOW4dfsZ4bBHalJWcE+82NB g1AHlCHnY8opDOF1/q3LA0xNNQB5WVQaK11lZs9gwlIpT+SYYlxhEDksMAEpgaMWJbDq 2xBg== X-Gm-Message-State: ALoCoQkM3MlU8HF6QY98Gx0SRXFbPuQc+6rYx8ftdkL+R1Xu6lF9Co/mcasKAUwLWEbMKKXdTfBR X-Received: by 10.112.89.8 with SMTP id bk8mr1318493lbb.6.1411090587555; Thu, 18 Sep 2014 18:36:27 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.115.138 with SMTP id jo10ls258298lab.56.gmail; Thu, 18 Sep 2014 18:36:27 -0700 (PDT) X-Received: by 10.152.45.8 with SMTP id i8mr3254629lam.31.1411090586116; Thu, 18 Sep 2014 18:36:26 -0700 (PDT) Received: from mail-lb0-f174.google.com (mail-lb0-f174.google.com [209.85.217.174]) by mx.google.com with ESMTPS id j15si502364lbg.30.2014.09.18.18.36.25 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 18 Sep 2014 18:36:25 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.174 as permitted sender) client-ip=209.85.217.174; Received: by mail-lb0-f174.google.com with SMTP id l4so2282402lbv.33 for ; Thu, 18 Sep 2014 18:36:25 -0700 (PDT) X-Received: by 10.112.140.200 with SMTP id ri8mr3254632lbb.84.1411090585786; Thu, 18 Sep 2014 18:36:25 -0700 (PDT) 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.112.130.169 with SMTP id of9csp857359lbb; Thu, 18 Sep 2014 18:36:25 -0700 (PDT) X-Received: by 10.181.29.134 with SMTP id jw6mr2669823wid.69.1411090585268; Thu, 18 Sep 2014 18:36:25 -0700 (PDT) Received: from mnementh.archaic.org.uk (mnementh.archaic.org.uk. [81.2.115.146]) by mx.google.com with ESMTPS id mx2si383193wic.17.2014.09.18.18.36.25 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 18 Sep 2014 18:36:25 -0700 (PDT) Received-SPF: none (google.com: pm215@archaic.org.uk does not designate permitted sender hosts) client-ip=81.2.115.146; Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.80) (envelope-from ) id 1XUn6W-00067B-HR; Fri, 19 Sep 2014 02:35:20 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Cc: patches@linaro.org, Riku Voipio , Dave Flogeras Subject: [PATCH] linux-user: Enable epoll_pwait syscall for ARM Date: Fri, 19 Sep 2014 02:35:20 +0100 Message-Id: <1411090520-23480-1-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.10.4 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: peter.maydell@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.174 as permitted sender) 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: , We have support for the epoll_pwait syscall, but it wasn't enabled for ARM guests because we hadn't defined the syscall number; correct this deficiency. Reported-by: Dave Flogeras Signed-off-by: Peter Maydell --- linux-user/arm/syscall_nr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux-user/arm/syscall_nr.h b/linux-user/arm/syscall_nr.h index bef847c..7d7be7c 100644 --- a/linux-user/arm/syscall_nr.h +++ b/linux-user/arm/syscall_nr.h @@ -350,7 +350,7 @@ #define TARGET_NR_vmsplice (343) #define TARGET_NR_move_pages (344) #define TARGET_NR_getcpu (345) - /* 346 for epoll_pwait */ +#define TARGET_NR_epoll_pwait (346) #define TARGET_NR_kexec_load (347) #define TARGET_NR_utimensat (348) #define TARGET_NR_signalfd (349)