summaryrefslogtreecommitdiff
path: root/include/asm-powerpc/fcntl.h
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2005-09-06 15:18:01 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-07 16:57:39 -0700
commit8191151d0933d65fb6b659ffbd765479f0f200e1 (patch)
tree130b2f505557808fb425484f54edbdf6aa824465 /include/asm-powerpc/fcntl.h
parent8d286aa5eaf951bf53d4a0f64576d4b377c435ba (diff)
downloadlwn-8191151d0933d65fb6b659ffbd765479f0f200e1.tar.gz
lwn-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 */