summaryrefslogtreecommitdiffstats
path: root/include/asm-sparc
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2005-09-06 15:17:58 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-07 16:57:38 -0700
commite64ca97fd80a129e538ca42d0b12c379746b83db (patch)
tree196c445874941ffbcca785be713338f647b42d5b /include/asm-sparc
parent2b2fa38e5f3f17a5e1ef3fe29a9869d93197ebfd (diff)
downloadlinux-stable-e64ca97fd80a129e538ca42d0b12c379746b83db.tar.gz
linux-stable-e64ca97fd80a129e538ca42d0b12c379746b83db.tar.bz2
linux-stable-e64ca97fd80a129e538ca42d0b12c379746b83db.zip
[PATCH] Clean up the open flags
This patch puts the most popular of each open flag into asm-generic/fcntl.h and cleans up the arch files. 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-sparc')
-rw-r--r--include/asm-sparc/fcntl.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/asm-sparc/fcntl.h b/include/asm-sparc/fcntl.h
index 68d3fd9156fd..1d35c90daec7 100644
--- a/include/asm-sparc/fcntl.h
+++ b/include/asm-sparc/fcntl.h
@@ -13,8 +13,6 @@
#define O_NONBLOCK 0x4000
#define O_NDELAY (0x0004 | O_NONBLOCK)
#define O_NOCTTY 0x8000 /* not fcntl */
-#define O_DIRECTORY 0x10000 /* must be a directory */
-#define O_NOFOLLOW 0x20000 /* don't follow links */
#define O_LARGEFILE 0x40000
#define O_DIRECT 0x100000 /* direct disk access hint */
#define O_NOATIME 0x200000