summaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/fcntl.h
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2005-09-07 00:18:01 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-08 01:57:39 +0200
commit8191151d0933d65fb6b659ffbd765479f0f200e1 (patch)
tree130b2f505557808fb425484f54edbdf6aa824465 /include/asm-powerpc/fcntl.h
parent[PATCH] Clean up struct flock64 definitions (diff)
downloadlinux-8191151d0933d65fb6b659ffbd765479f0f200e1.tar.xz
linux-8191151d0933d65fb6b659ffbd765479f0f200e1.zip
[PATCH] Consolidate the asm-ppc*/fcntl.h files into asm-powerpc
This makes sense now that we have asm-powerpc. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-powerpc/fcntl.h')
-rw-r--r--include/asm-powerpc/fcntl.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/asm-powerpc/fcntl.h b/include/asm-powerpc/fcntl.h
new file mode 100644
index 000000000000..ce5c4516d404
--- /dev/null
+++ b/include/asm-powerpc/fcntl.h
@@ -0,0 +1,11 @@
+#ifndef _ASM_FCNTL_H
+#define _ASM_FCNTL_H
+
+#define O_DIRECTORY 040000 /* must be a directory */
+#define O_NOFOLLOW 0100000 /* don't follow links */
+#define O_LARGEFILE 0200000
+#define O_DIRECT 0400000 /* direct disk access hint */
+
+#include <asm-generic/fcntl.h>
+
+#endif /* _ASM_FCNTL_H */