From nobody Sun Nov 2 11:43:41 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1527623353817806.9972124205437; Tue, 29 May 2018 12:49:13 -0700 (PDT) Received: from localhost ([::1]:34714 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fNkcK-0000mv-SQ for importer@patchew.org; Tue, 29 May 2018 15:49:12 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37998) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fNkVp-0004G0-J5 for qemu-devel@nongnu.org; Tue, 29 May 2018 15:42:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fNkVo-0000Vh-Kr for qemu-devel@nongnu.org; Tue, 29 May 2018 15:42:29 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:53949) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fNkVo-0000Uo-Cc for qemu-devel@nongnu.org; Tue, 29 May 2018 15:42:28 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue003 [212.227.15.167]) with ESMTPSA (Nemesis) id 0MUAOE-1fojak3oyg-00R4io; Tue, 29 May 2018 21:42:17 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Tue, 29 May 2018 21:41:56 +0200 Message-Id: <20180529194207.31503-5-laurent@vivier.eu> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180529194207.31503-1-laurent@vivier.eu> References: <20180529194207.31503-1-laurent@vivier.eu> X-Provags-ID: V03:K1:kXnuFc4SD+OUAN7x3CEd9o9vszEwUUUohP/Pr1dkJnGx3WCp5hn aNcZWaePKqbLNAbIEYomH4tqlN1i0vsbzh/3yS6BPcYTL2m54maTzSZGTs0hSuihYTLww48 YFa7zFONMP74J0CH5z8ycbyKMP4FZc12pmMIn+s15RqxhL75VJr1d8HrNxr7eLecWFgCFtf YFKR1TjQMvtiKPH0cL+BA== X-UI-Out-Filterresults: notjunk:1;V01:K0:Etqp80hk7Dg=:UfmUIoVpOcHuQyP9fIFIM6 s+ikBAT4lQdExCtf557xRUVMEMpLnpCRLfdx1ggpfC6ZyrIvxRtv2A/lZGFnP/voZJysrBMfi yJfDJnNjORZ/9D1erEZAPdUuzbw6jUwK2CK6hgitkq9EUMmzQBeZHB6/y1z1BLLzfcZ8Ihw/6 GbYs23/30cVSWSKU/P7Cm0bmD5sunLB6UcfWWBk3LmL/gqCksdwIxXqr3rEKRFx5wN74OZAMi 1AP/SyxMHjfTXvdDtkAJwuqEHjdNF1hlYH1GuYpuiPSiKaEEnUAkJ07h+SEBwn49uUXsXlqy2 iCufKNuVwj07lUzbHyRDTB5NS1mDbijPOhm61GjqRfORf5VWLLoCDpDfo7xSu/JHD9Dw30SPd ZJYaThUm5w9d6rou8qSbY01xM+/oWUYGgBGsSBUV5L/bRB7/m5KVOnM2YKlIRcoIt8274o6UV oqrze4Yn1qJCh2mw8psX9H3jRHeKNzQbhTNl8dl8IxE/yvysupHv6uuC5VKR25yRRuNFTbM8W pr1EQlRAbyVKa+pyeoZ0pyMEQ4R/q65H0DhbaBu31nhMrAUsPVDd37/3+6M1UY8icMK0Rr5Dt mop30Bt0cbOnj30Uo5qa8KVxPXCsaFIDVzCNit64XXrgdCBQNBxT0ybUAEtMOAGx0m435q2W2 2zZ7AS7T6EZrOISAsIwyjGLfqm+VDCQxS1rpzrYAF/j+AxaWSOeGUD1aKyklXT/+sg0I= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.126.133 Subject: [Qemu-devel] [PATCH 04/15] linux-user: move arm/aarch64/m68k fcntl definitions to [arm|aarch64|m68k]/target_fcntl.h X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Riku Voipio , Laurent Vivier Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" No code change. Signed-off-by: Laurent Vivier Acked-by: Richard Henderson --- linux-user/aarch64/target_fcntl.h | 5 +++++ linux-user/arm/target_fcntl.h | 6 ++++++ linux-user/m68k/target_fcntl.h | 6 ++++++ linux-user/syscall_defs.h | 7 +------ 4 files changed, 18 insertions(+), 6 deletions(-) diff --git a/linux-user/aarch64/target_fcntl.h b/linux-user/aarch64/target_= fcntl.h index 59be406280..efdf6e5f05 100644 --- a/linux-user/aarch64/target_fcntl.h +++ b/linux-user/aarch64/target_fcntl.h @@ -7,5 +7,10 @@ =20 #ifndef AARCH64_TARGET_FCNTL_H #define AARCH64_TARGET_FCNTL_H + +#define TARGET_O_DIRECTORY 040000 /* must be a directory */ +#define TARGET_O_NOFOLLOW 0100000 /* don't follow links */ +#define TARGET_O_DIRECT 0200000 /* direct disk access hint */ + #include "../generic/fcntl.h" #endif diff --git a/linux-user/arm/target_fcntl.h b/linux-user/arm/target_fcntl.h index ca819df519..c8ff6b2505 100644 --- a/linux-user/arm/target_fcntl.h +++ b/linux-user/arm/target_fcntl.h @@ -7,5 +7,11 @@ =20 #ifndef ARM_TARGET_FCNTL_H #define ARM_TARGET_FCNTL_H + +#define TARGET_O_DIRECTORY 040000 /* must be a directory */ +#define TARGET_O_NOFOLLOW 0100000 /* don't follow links */ +#define TARGET_O_DIRECT 0200000 /* direct disk access hint */ +#define TARGET_O_LARGEFILE 0400000 + #include "../generic/fcntl.h" #endif diff --git a/linux-user/m68k/target_fcntl.h b/linux-user/m68k/target_fcntl.h index 4328c60d22..068bc3243e 100644 --- a/linux-user/m68k/target_fcntl.h +++ b/linux-user/m68k/target_fcntl.h @@ -7,5 +7,11 @@ =20 #ifndef M68K_TARGET_FCNTL_H #define M68K_TARGET_FCNTL_H + +#define TARGET_O_DIRECTORY 040000 /* must be a directory */ +#define TARGET_O_NOFOLLOW 0100000 /* don't follow links */ +#define TARGET_O_DIRECT 0200000 /* direct disk access hint */ +#define TARGET_O_LARGEFILE 0400000 + #include "../generic/fcntl.h" #endif diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h index 46d2353254..3d13cdd654 100644 --- a/linux-user/syscall_defs.h +++ b/linux-user/syscall_defs.h @@ -2438,12 +2438,7 @@ struct target_statfs64 { #define TARGET_F_GETPIPE_SZ (TARGET_F_LINUX_SPECIFIC_BASE + 8) #define TARGET_F_NOTIFY (TARGET_F_LINUX_SPECIFIC_BASE+2) =20 -#if defined(TARGET_ARM) || defined(TARGET_M68K) || defined(TARGET_AARCH64) -#define TARGET_O_DIRECTORY 040000 /* must be a directory */ -#define TARGET_O_NOFOLLOW 0100000 /* don't follow links */ -#define TARGET_O_DIRECT 0200000 /* direct disk access hint */ -#define TARGET_O_LARGEFILE 0400000 -#elif defined(TARGET_MIPS) +#if defined(TARGET_MIPS) #define TARGET_O_APPEND 0x0008 #define TARGET_O_DSYNC 0x0010 #define TARGET_O_NONBLOCK 0x0080 --=20 2.14.3