From patchwork Mon Oct 6 14:34:15 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Riku Voipio X-Patchwork-Id: 38374 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f69.google.com (mail-wg0-f69.google.com [74.125.82.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E3ECE202E7 for ; Mon, 6 Oct 2014 14:37:56 +0000 (UTC) Received: by mail-wg0-f69.google.com with SMTP id b13sf2844357wgh.0 for ; Mon, 06 Oct 2014 07:37:55 -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=MDWKhY0W3FC2ygfb+e12PJPbakOeYVwvPQEF7EqYVTw0LpvrC1xrqANpAeJwpu58pN 4entIzX2u++SHDAHLzGKa77f3hnM+Gjdd4bwtCc4H99fVoux7EGqs8f389NuWycRl7Og 04vA3blTFL+iUivSrVt1LAsNLaBu5RrZzxjkWBpM1UWtocBAjV8MDFLPK4VOLnhCO9Dv CTe8pHw0RcYqjxbGbNnAUPogS5IYlfnQzFSS5T0Y5KepQX1MUmIOwrQcw9ffvcDk1WhM /RgAq+dEiDibSgqFk5WqhgiZWyMggdoUTlnPkROKH4tfJ5mZ5+tecmiP7pTFF+fs8Ztj k/wQ== X-Gm-Message-State: ALoCoQkBiakCAswj6kB+/swE1n1e6Q3ttgy6B5ZTh/JXmBrJ83MxFnv67klxk28Rv54M2OypDXoL X-Received: by 10.152.26.225 with SMTP id o1mr1334051lag.4.1412606275606; Mon, 06 Oct 2014 07:37:55 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.27.201 with SMTP id v9ls601291lag.40.gmail; Mon, 06 Oct 2014 07:37:55 -0700 (PDT) X-Received: by 10.112.170.165 with SMTP id an5mr24519653lbc.6.1412606275467; Mon, 06 Oct 2014 07:37:55 -0700 (PDT) Received: from mail-lb0-f170.google.com (mail-lb0-f170.google.com [209.85.217.170]) by mx.google.com with ESMTPS id bf9si24253297lab.68.2014.10.06.07.37.55 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 06 Oct 2014 07:37:55 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.170 as permitted sender) client-ip=209.85.217.170; Received: by mail-lb0-f170.google.com with SMTP id u10so4415548lbd.29 for ; Mon, 06 Oct 2014 07:37:55 -0700 (PDT) X-Received: by 10.112.134.229 with SMTP id pn5mr24382739lbb.22.1412606275351; Mon, 06 Oct 2014 07:37:55 -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 of9csp194034lbb; Mon, 6 Oct 2014 07:37:54 -0700 (PDT) X-Received: by 10.140.32.196 with SMTP id h62mr16455414qgh.13.1412606274043; Mon, 06 Oct 2014 07:37:54 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id 20si25457190qgm.102.2014.10.06.07.37.53 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 06 Oct 2014 07:37:53 -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]:52257 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xb9Q8-0002rq-OY for patch@linaro.org; Mon, 06 Oct 2014 10:37:52 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50932) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xb9Mu-0006dy-0v for qemu-devel@nongnu.org; Mon, 06 Oct 2014 10:34:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xb9Mm-0006N3-F2 for qemu-devel@nongnu.org; Mon, 06 Oct 2014 10:34:31 -0400 Received: from afflict.kos.to ([92.243.29.197]:33724) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xb9Mm-0006LJ-9i for qemu-devel@nongnu.org; Mon, 06 Oct 2014 10:34:24 -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 6690926510; Mon, 6 Oct 2014 16:34:20 +0200 (CEST) From: riku.voipio@linaro.org To: qemu-devel@nongnu.org Date: Mon, 6 Oct 2014 17:34:15 +0300 Message-Id: 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: 92.243.29.197 Cc: Peter Maydell Subject: [Qemu-devel] [PULL 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.217.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: 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)