From patchwork Fri Mar 16 17:16:36 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 7335 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 8339A23E01 for ; Fri, 16 Mar 2012 17:16:42 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id 4049CA182F5 for ; Fri, 16 Mar 2012 17:16:42 +0000 (UTC) Received: by iage36 with SMTP id e36so7569655iag.11 for ; Fri, 16 Mar 2012 10:16:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:x-gm-message-state; bh=kjaqMGgIPjEcF0lgoFaoqXZ4XXEfA12idXHqXXBI7wE=; b=U3+Kj+RUX359UVCQt0a5ENhXCLF3CMDXY0nGO//UN5k3tl2v8UeO8USAYzy2jBwNyT l7/rib7xFQVJeHuS69RxQ8DV13H2HYfiyZ+a11L7Ia/rpH0dBUOZilnxM9UL6kN1YwUX vKqotifaBzon/Htl7u8VSZabRWOUzkAoelutV+gnfSUno9BJOi96WFZlCUmWBKzVLM0E AFe3AYapsIASH+2ZpEApe7JYdqueSNyhZT5S6v91dKnCYH6/ES3V/JVcGORRRi4nhfMW aVS8/z5EynrTd2OewkQSs1vLZdbj/froL0/Zjs9vcoWcbUeR7jYhVevSBWhPth8Mz73U PslQ== Received: by 10.50.159.198 with SMTP id xe6mr3151993igb.74.1331918201606; Fri, 16 Mar 2012 10:16:41 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.53.18 with SMTP id k18csp12806ibg; Fri, 16 Mar 2012 10:16:41 -0700 (PDT) Received: by 10.180.92.34 with SMTP id cj2mr214757wib.8.1331918200013; Fri, 16 Mar 2012 10:16:40 -0700 (PDT) Received: from mnementh.archaic.org.uk (mnementh.archaic.org.uk. [81.2.115.146]) by mx.google.com with ESMTPS id s6si117032wif.13.2012.03.16.10.16.39 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 16 Mar 2012 10:16:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of pm215@archaic.org.uk designates 81.2.115.146 as permitted sender) client-ip=81.2.115.146; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of pm215@archaic.org.uk designates 81.2.115.146 as permitted sender) smtp.mail=pm215@archaic.org.uk Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.72) (envelope-from ) id 1S8alY-00030h-QU; Fri, 16 Mar 2012 17:16:36 +0000 From: Peter Maydell To: qemu-devel@nongnu.org Cc: patches@linaro.org, Riku Voipio Subject: [PATCH] linux-user/arm/syscall_nr.h: Add syscall number for ppoll Date: Fri, 16 Mar 2012 17:16:36 +0000 Message-Id: <1331918196-11548-1-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.2.5 X-Gm-Message-State: ALoCoQkD/Wkpi8GkwMWYlxDaJfnQDs3TVgw0/DQvTfB9tX1klGwvZrygiPHjqGWAvmxiJPyfmEKW The list of ARM syscall numbers was missing the entry for ppoll, which meant we were accidentally not providing it. (This wasn't causing any practical issues beyond warnings about unimplemented syscalls, because glibc will fall back to another code path if the syscall isn't present.) Signed-off-by: Peter Maydell --- linux-user/arm/syscall_nr.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/linux-user/arm/syscall_nr.h b/linux-user/arm/syscall_nr.h index 7f05879..5356395 100644 --- a/linux-user/arm/syscall_nr.h +++ b/linux-user/arm/syscall_nr.h @@ -339,7 +339,7 @@ #define TARGET_NR_fchmodat (333) #define TARGET_NR_faccessat (334) #define TARGET_NR_pselect6 (335) - /* 336 for ppoll */ +#define TARGET_NR_ppoll (336) #define TARGET_NR_unshare (337) #define TARGET_NR_set_robust_list (338) #define TARGET_NR_get_robust_list (339)