diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2005-09-06 18:18:01 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-07 19:57:38 -0400 |
commit | 8d286aa5eaf951bf53d4a0f64576d4b377c435ba (patch) | |
tree | c2304e6fc3af25b6a09f974fa09db753f6bd8cea /include/asm-i386/fcntl.h | |
parent | 5ac353f9baf7169298ebb7de86b2d697b25bca44 (diff) |
[PATCH] Clean up struct flock64 definitions
This patch gathers all the struct flock64 definitions (and the operations),
puts them under !CONFIG_64BIT 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-i386/fcntl.h')
-rw-r--r-- | include/asm-i386/fcntl.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/include/asm-i386/fcntl.h b/include/asm-i386/fcntl.h index 01f17d29d288..46ab12db5739 100644 --- a/include/asm-i386/fcntl.h +++ b/include/asm-i386/fcntl.h | |||
@@ -1,18 +1 @@ | |||
1 | #ifndef _I386_FCNTL_H | ||
2 | #define _I386_FCNTL_H | ||
3 | |||
4 | #define F_GETLK64 12 /* using 'struct flock64' */ | ||
5 | #define F_SETLK64 13 | ||
6 | #define F_SETLKW64 14 | ||
7 | |||
8 | struct flock64 { | ||
9 | short l_type; | ||
10 | short l_whence; | ||
11 | loff_t l_start; | ||
12 | loff_t l_len; | ||
13 | pid_t l_pid; | ||
14 | }; | ||
15 | |||
16 | #include <asm-generic/fcntl.h> | #include <asm-generic/fcntl.h> | |
17 | |||
18 | #endif | ||