1224b54f69543a5c0ec18f99bd717d2b724582eb6Ben Cheng/*
2224b54f69543a5c0ec18f99bd717d2b724582eb6Ben Cheng * Copyright (C) 2012 ARM Ltd.
3224b54f69543a5c0ec18f99bd717d2b724582eb6Ben Cheng *
4224b54f69543a5c0ec18f99bd717d2b724582eb6Ben Cheng * This program is free software; you can redistribute it and/or modify
5224b54f69543a5c0ec18f99bd717d2b724582eb6Ben Cheng * it under the terms of the GNU General Public License version 2 as
6224b54f69543a5c0ec18f99bd717d2b724582eb6Ben Cheng * published by the Free Software Foundation.
7224b54f69543a5c0ec18f99bd717d2b724582eb6Ben Cheng *
8224b54f69543a5c0ec18f99bd717d2b724582eb6Ben Cheng * This program is distributed in the hope that it will be useful,
9224b54f69543a5c0ec18f99bd717d2b724582eb6Ben Cheng * but WITHOUT ANY WARRANTY; without even the implied warranty of
10224b54f69543a5c0ec18f99bd717d2b724582eb6Ben Cheng * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11224b54f69543a5c0ec18f99bd717d2b724582eb6Ben Cheng * GNU General Public License for more details.
12224b54f69543a5c0ec18f99bd717d2b724582eb6Ben Cheng *
13224b54f69543a5c0ec18f99bd717d2b724582eb6Ben Cheng * You should have received a copy of the GNU General Public License
14224b54f69543a5c0ec18f99bd717d2b724582eb6Ben Cheng * along with this program.  If not, see <http://www.gnu.org/licenses/>.
15224b54f69543a5c0ec18f99bd717d2b724582eb6Ben Cheng */
16224b54f69543a5c0ec18f99bd717d2b724582eb6Ben Cheng#ifndef __ASM_FCNTL_H
17224b54f69543a5c0ec18f99bd717d2b724582eb6Ben Cheng#define __ASM_FCNTL_H
18224b54f69543a5c0ec18f99bd717d2b724582eb6Ben Cheng
19224b54f69543a5c0ec18f99bd717d2b724582eb6Ben Cheng/*
20224b54f69543a5c0ec18f99bd717d2b724582eb6Ben Cheng * Using our own definitions for AArch32 (compat) support.
21224b54f69543a5c0ec18f99bd717d2b724582eb6Ben Cheng */
22224b54f69543a5c0ec18f99bd717d2b724582eb6Ben Cheng#define O_DIRECTORY	 040000	/* must be a directory */
23224b54f69543a5c0ec18f99bd717d2b724582eb6Ben Cheng#define O_NOFOLLOW	0100000	/* don't follow links */
24224b54f69543a5c0ec18f99bd717d2b724582eb6Ben Cheng#define O_DIRECT	0200000	/* direct disk access hint - currently ignored */
25224b54f69543a5c0ec18f99bd717d2b724582eb6Ben Cheng#define O_LARGEFILE	0400000
26224b54f69543a5c0ec18f99bd717d2b724582eb6Ben Cheng
27224b54f69543a5c0ec18f99bd717d2b724582eb6Ben Cheng#include <asm-generic/fcntl.h>
28224b54f69543a5c0ec18f99bd717d2b724582eb6Ben Cheng
29224b54f69543a5c0ec18f99bd717d2b724582eb6Ben Cheng#endif
30