From patchwork Fri Apr 15 15:32:45 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Graf X-Patchwork-Id: 91395 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 D9AFDB6F14 for ; Sat, 16 Apr 2011 01:33:42 +1000 (EST) Received: from localhost ([::1]:36177 helo=lists2.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QAl1g-0001PB-0U for incoming@patchwork.ozlabs.org; Fri, 15 Apr 2011 11:33:40 -0400 Received: from eggs.gnu.org ([140.186.70.92]:57880) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QAl17-0001Nl-Nl for qemu-devel@nongnu.org; Fri, 15 Apr 2011 11:33:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QAl13-0003pP-GP for qemu-devel@nongnu.org; Fri, 15 Apr 2011 11:33:05 -0400 Received: from cantor2.suse.de ([195.135.220.15]:36398 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QAl13-0003oz-8a for qemu-devel@nongnu.org; Fri, 15 Apr 2011 11:33:01 -0400 Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.221.2]) by mx2.suse.de (Postfix) with ESMTP id C8F9D8726A; Fri, 15 Apr 2011 17:32:59 +0200 (CEST) From: Alexander Graf To: QEMU-devel Developers Date: Fri, 15 Apr 2011 17:32:45 +0200 Message-Id: <1302881578-5357-5-git-send-email-agraf@suse.de> X-Mailer: git-send-email 1.7.3.4 In-Reply-To: <1302881578-5357-1-git-send-email-agraf@suse.de> References: <1302881578-5357-1-git-send-email-agraf@suse.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 195.135.220.15 Cc: peter.maydell@linaro.org, Aurelien Jarno , Richard Henderson Subject: [Qemu-devel] [PATCH 04/17] 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 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 --- 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 99f5935..8e095ea 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -196,7 +196,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