From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39202) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YRU36-0003EW-J9 for qemu-devel@nongnu.org; Fri, 27 Feb 2015 18:10:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YRU33-0005LG-DX for qemu-devel@nongnu.org; Fri, 27 Feb 2015 18:10:24 -0500 Received: from out1134-195.mail.aliyun.com ([42.120.134.195]:1972) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YRU33-0005L4-27 for qemu-devel@nongnu.org; Fri, 27 Feb 2015 18:10:21 -0500 Message-ID: <54F0F961.2070908@sunrus.com.cn> Date: Sat, 28 Feb 2015 07:10:25 +0800 From: Chen Gang S MIME-Version: 1.0 References: <54E9DA4D.1050702@sunrus.com.cn> <54E9DB40.6000301@sunrus.com.cn> <54F0AC1D.6070807@suse.de> In-Reply-To: <54F0AC1D.6070807@suse.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH 4/6 v4] linux-user: Support tilegx architecture in syscall List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= Cc: Peter Maydell , Riku Voipio , qemu-devel , Chris Metcalf , "walt@tilera.com" , "rth@twiddle.net" On 02/28/2015 01:40 AM, Andreas Färber wrote: > Am 22.02.2015 um 14:36 schrieb Chen Gang S: >> Add tilegx architecture in "syscall_defs.h", all related features (ioctrl, >> and stat) are based on Linux kernel tilegx 64-bit implementation. >> >> Signed-off-by: Chen Gang >> --- >> linux-user/syscall_defs.h | 38 ++++++++++++++++++++++++++++++++++---- >> 1 file changed, 34 insertions(+), 4 deletions(-) >> >> diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h >> index 9ed6de8..a0d9d77 100644 >> --- a/linux-user/syscall_defs.h >> +++ b/linux-user/syscall_defs.h > [...] >> @@ -2312,7 +2340,9 @@ struct target_flock { >> struct target_flock64 { >> short l_type; >> short l_whence; >> -#if defined(TARGET_PPC) || defined(TARGET_X86_64) || defined(TARGET_MIPS) || defined(TARGET_SPARC) || defined(TARGET_HPPA) || defined (TARGET_MICROBLAZE) >> +#if defined(TARGET_PPC) || defined(TARGET_X86_64) || defined(TARGET_MIPS) || \ >> + defined(TARGET_SPARC) || defined(TARGET_HPPA) \ >> + || defined(TARGET_MICROBLAZE) || defined(TARGET_TILEGX) > > Nit: You're inconsistent as to where you're placing ||. > OK. -- Open, share, and attitude like air, water, and life which God blessed.