From patchwork Mon Apr 18 17:29:02 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Riku Voipio X-Patchwork-Id: 91817 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 2C197B6FF6 for ; Tue, 19 Apr 2011 03:31:07 +1000 (EST) Received: from localhost ([::1]:49483 helo=lists2.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QBsHw-0002PD-H2 for incoming@patchwork.ozlabs.org; Mon, 18 Apr 2011 13:31:04 -0400 Received: from eggs.gnu.org ([140.186.70.92]:58644) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QBsGT-00080z-GJ for qemu-devel@nongnu.org; Mon, 18 Apr 2011 13:29:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QBsGS-0003IK-N5 for qemu-devel@nongnu.org; Mon, 18 Apr 2011 13:29:33 -0400 Received: from afflict.kos.to ([92.243.29.197]:53989) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QBsGS-0003IG-FR for qemu-devel@nongnu.org; Mon, 18 Apr 2011 13:29:32 -0400 Received: from kos.to (a88-115-166-167.elisa-laajakaista.fi [88.115.166.167]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by afflict.kos.to (Postfix) with ESMTPSA id B47892668B; Mon, 18 Apr 2011 17:29:30 +0000 (UTC) Received: by kos.to (sSMTP sendmail emulation); Mon, 18 Apr 2011 20:29:22 +0300 From: Riku Voipio To: qemu-devel@nongnu.org Date: Mon, 18 Apr 2011 20:29:02 +0300 Message-Id: <4c82621154eb5b6f29bad8698c31db274bc6c772.1303146624.git.riku.voipio@iki.fi> X-Mailer: git-send-email 1.7.1 In-Reply-To: References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 92.243.29.197 Cc: Riku Voipio , Alexander Graf Subject: [Qemu-devel] [PATCH 5/6] linux-user: add s390x to llseek list 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+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: Alexander Graf We keep a list of host architectures that do llseek with the same syscall as lseek. S390x is one of them, so let's add it to the list. Original-patch-by: Ulrich Hecht Signed-off-by: Alexander Graf Signed-off-by: Riku Voipio --- linux-user/syscall.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 5f9061d..e7af2ea 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -197,7 +197,8 @@ static type name (type1 arg1,type2 arg2,type3 arg3,type4 arg4,type5 arg5, \ #define __NR_sys_inotify_add_watch __NR_inotify_add_watch #define __NR_sys_inotify_rm_watch __NR_inotify_rm_watch -#if defined(__alpha__) || defined (__ia64__) || defined(__x86_64__) +#if defined(__alpha__) || defined (__ia64__) || defined(__x86_64__) || \ + defined(__s390x__) #define __NR__llseek __NR_lseek #endif