18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Copyright (C) 2012 ARM Ltd.
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * This program is free software; you can redistribute it and/or modify
68c2ecf20Sopenharmony_ci * it under the terms of the GNU General Public License version 2 as
78c2ecf20Sopenharmony_ci * published by the Free Software Foundation.
88c2ecf20Sopenharmony_ci *
98c2ecf20Sopenharmony_ci * This program is distributed in the hope that it will be useful,
108c2ecf20Sopenharmony_ci * but WITHOUT ANY WARRANTY; without even the implied warranty of
118c2ecf20Sopenharmony_ci * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
128c2ecf20Sopenharmony_ci * GNU General Public License for more details.
138c2ecf20Sopenharmony_ci *
148c2ecf20Sopenharmony_ci * You should have received a copy of the GNU General Public License
158c2ecf20Sopenharmony_ci * along with this program.  If not, see <http://www.gnu.org/licenses/>.
168c2ecf20Sopenharmony_ci */
178c2ecf20Sopenharmony_ci#ifndef __ASM_FCNTL_H
188c2ecf20Sopenharmony_ci#define __ASM_FCNTL_H
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ci/*
218c2ecf20Sopenharmony_ci * Using our own definitions for AArch32 (compat) support.
228c2ecf20Sopenharmony_ci */
238c2ecf20Sopenharmony_ci#define O_DIRECTORY	 040000	/* must be a directory */
248c2ecf20Sopenharmony_ci#define O_NOFOLLOW	0100000	/* don't follow links */
258c2ecf20Sopenharmony_ci#define O_DIRECT	0200000	/* direct disk access hint - currently ignored */
268c2ecf20Sopenharmony_ci#define O_LARGEFILE	0400000
278c2ecf20Sopenharmony_ci
288c2ecf20Sopenharmony_ci#include <asm-generic/fcntl.h>
298c2ecf20Sopenharmony_ci
308c2ecf20Sopenharmony_ci#endif
31