diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2005-09-06 18:17:59 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-07 19:57:38 -0400 |
commit | 1abf62afb6e9cdc1b2618b69067a186b94281587 (patch) | |
tree | a3e3266a23d8d75bf6c302763327b60b7372a41c /include/asm-sparc64/fcntl.h | |
parent | e64ca97fd80a129e538ca42d0b12c379746b83db (diff) |
[PATCH] Clean up the fcntl operations
This patch puts the most popular of each fcntl operation/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-sparc64/fcntl.h')
-rw-r--r-- | include/asm-sparc64/fcntl.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/asm-sparc64/fcntl.h b/include/asm-sparc64/fcntl.h index 3e82239a7715..3db10e076eec 100644 --- a/include/asm-sparc64/fcntl.h +++ b/include/asm-sparc64/fcntl.h | |||
@@ -23,21 +23,12 @@ | |||
23 | #define F_GETLK 7 | 23 | #define F_GETLK 7 |
24 | #define F_SETLK 8 | 24 | #define F_SETLK 8 |
25 | #define F_SETLKW 9 | 25 | #define F_SETLKW 9 |
26 | #define F_SETSIG 10 /* for sockets. */ | ||
27 | #define F_GETSIG 11 /* for sockets. */ | ||
28 | 26 | ||
29 | /* for posix fcntl() and lockf() */ | 27 | /* for posix fcntl() and lockf() */ |
30 | #define F_RDLCK 1 | 28 | #define F_RDLCK 1 |
31 | #define F_WRLCK 2 | 29 | #define F_WRLCK 2 |
32 | #define F_UNLCK 3 | 30 | #define F_UNLCK 3 |
33 | 31 | ||
34 | /* for old implementation of bsd flock () */ | ||
35 | #define F_EXLCK 4 /* or 3 */ | ||
36 | #define F_SHLCK 8 /* or 4 */ | ||
37 | |||
38 | /* for leases */ | ||
39 | #define F_INPROGRESS 16 | ||
40 | |||
41 | struct flock { | 32 | struct flock { |
42 | short l_type; | 33 | short l_type; |
43 | short l_whence; | 34 | short l_whence; |