summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/include/asm/fcntl.h
diff options
context:
space:
mode:
authorBryan Wu <cooloney@kernel.org>2008-08-27 04:51:02 +0200
committerBryan Wu <cooloney@kernel.org>2008-08-27 04:51:02 +0200
commit639f6571458948b5112be2cf00c0c2c04db2897d (patch)
treea4dd7af33d0e92c935ba1e904f6fb7e923ac825e /arch/blackfin/include/asm/fcntl.h
parentBlackfin arch: fix bug - MPU crashes under stress (diff)
downloadlinux-639f6571458948b5112be2cf00c0c2c04db2897d.tar.xz
linux-639f6571458948b5112be2cf00c0c2c04db2897d.zip
Blackfin arch: move include/asm-blackfin header files to arch/blackfin
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin/include/asm/fcntl.h')
-rw-r--r--arch/blackfin/include/asm/fcntl.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/blackfin/include/asm/fcntl.h b/arch/blackfin/include/asm/fcntl.h
new file mode 100644
index 000000000000..9c4037127857
--- /dev/null
+++ b/arch/blackfin/include/asm/fcntl.h
@@ -0,0 +1,13 @@
+#ifndef _BFIN_FCNTL_H
+#define _BFIN_FCNTL_H
+
+/* open/fcntl - O_SYNC is only implemented on blocks devices and on files
+ located on an ext2 file system */
+#define O_DIRECTORY 040000 /* must be a directory */
+#define O_NOFOLLOW 0100000 /* don't follow links */
+#define O_DIRECT 0200000 /* direct disk access hint - currently ignored */
+#define O_LARGEFILE 0400000
+
+#include <asm-generic/fcntl.h>
+
+#endif