From patchwork Mon Oct 6 19:11:19 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Riku Voipio X-Patchwork-Id: 38381 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f198.google.com (mail-lb0-f198.google.com [209.85.217.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4156420350 for ; Mon, 6 Oct 2014 19:12:42 +0000 (UTC) Received: by mail-lb0-f198.google.com with SMTP id 10sf3195034lbg.1 for ; Mon, 06 Oct 2014 12:12:41 -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=CH4ez3ub8nJHbUEZePf8RadI+zkIdEuhQSNN2SPNF0A=; b=cOG+dGO1vmZEa80vw+wVNz01ZegASiGulUjqR7F7EYao5blL7AHppX0PZsR2kThcwQ dTPYB1Mk+jUiAoEvc6xhWIMIVnKhKuoE/uYm4+aI58pEstsLUjWDLPIin4XisZT3Fehq lSVZ9M7tGsUnOl4JIQ8pjDFOAgmdtSEefpzMGieBC4jCCN79s6ZH7Ee3DbpT2E4wWvAI TCR19EwHcHoCSn+81pFhVQWK4KT1s9bHGL17J4l4qhEU2veesUiW044HfuC0LN+nivoJ IDrGPl/c+kVspLNvV7IBA0Pfgua7IPuzX4z5W2Lun/cNCue2xbdoelQNpzh7g8A2Eyyo zDGQ== X-Gm-Message-State: ALoCoQn7R/IFGATcwVp700FKNg34F/o9VMnuejzs1Luv38n6NzucnUkFu1uY3isumMsPiiNcFXVY X-Received: by 10.181.9.73 with SMTP id dq9mr2795000wid.2.1412622761122; Mon, 06 Oct 2014 12:12:41 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.7.141 with SMTP id j13ls615801laa.5.gmail; Mon, 06 Oct 2014 12:12:40 -0700 (PDT) X-Received: by 10.112.34.210 with SMTP id b18mr26193601lbj.62.1412622760968; Mon, 06 Oct 2014 12:12:40 -0700 (PDT) Received: from mail-la0-f52.google.com (mail-la0-f52.google.com [209.85.215.52]) by mx.google.com with ESMTPS id v1si21020736laz.94.2014.10.06.12.12.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 06 Oct 2014 12:12:40 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.52 as permitted sender) client-ip=209.85.215.52; Received: by mail-la0-f52.google.com with SMTP id hz20so4950607lab.39 for ; Mon, 06 Oct 2014 12:12:40 -0700 (PDT) X-Received: by 10.112.4.33 with SMTP id h1mr25440978lbh.67.1412622760864; Mon, 06 Oct 2014 12:12:40 -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.112.130.169 with SMTP id of9csp239715lbb; Mon, 6 Oct 2014 12:12:40 -0700 (PDT) X-Received: by 10.140.38.211 with SMTP id t77mr10988629qgt.3.1412622758832; Mon, 06 Oct 2014 12:12:38 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id q21si26853750qgq.67.2014.10.06.12.12.38 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 06 Oct 2014 12:12:38 -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]:53844 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XbDi1-00031A-P7 for patch@linaro.org; Mon, 06 Oct 2014 15:12:37 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57430) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XbDgx-00024l-E1 for qemu-devel@nongnu.org; Mon, 06 Oct 2014 15:11:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XbDgr-0007cr-PM for qemu-devel@nongnu.org; Mon, 06 Oct 2014 15:11:31 -0400 Received: from [2001:4b98:dc0:45:216:3eff:fe3d:166f] (port=44324 helo=afflict.kos.to) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XbDgr-0007bF-Je for qemu-devel@nongnu.org; Mon, 06 Oct 2014 15:11:25 -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 17CD326510; Mon, 6 Oct 2014 21:11:24 +0200 (CEST) From: riku.voipio@linaro.org To: qemu-devel@nongnu.org Date: Mon, 6 Oct 2014 22:11:19 +0300 Message-Id: <40645c7bfd7c4d45381927e1e80081fa827c368a.1412622515.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: Peter Maydell Subject: [Qemu-devel] [PULL v2 1/5] linux-user: Enable epoll_pwait syscall for ARM 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.215.52 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: Peter Maydell 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 Signed-off-by: Riku Voipio --- 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)