diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2005-09-06 18:18:00 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-07 19:57:38 -0400 |
commit | 5ac353f9baf7169298ebb7de86b2d697b25bca44 (patch) | |
tree | 2591e241e07c96d19db85d418ff6623ec394f984 /include/asm-m32r/fcntl.h | |
parent | 1abf62afb6e9cdc1b2618b69067a186b94281587 (diff) |
[PATCH] Clean up struct flock definitions
This patch just gathers together all the struct flock definitions except
xtensa into asm-generic/fcntl.h.
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-m32r/fcntl.h')
-rw-r--r-- | include/asm-m32r/fcntl.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/asm-m32r/fcntl.h b/include/asm-m32r/fcntl.h index ff3a0849bb85..90f71735fa9a 100644 --- a/include/asm-m32r/fcntl.h +++ b/include/asm-m32r/fcntl.h | |||
@@ -1,22 +1,10 @@ | |||
1 | #ifndef _ASM_M32R_FCNTL_H | 1 | #ifndef _ASM_M32R_FCNTL_H |
2 | #define _ASM_M32R_FCNTL_H | 2 | #define _ASM_M32R_FCNTL_H |
3 | 3 | ||
4 | /* $Id$ */ | ||
5 | |||
6 | /* orig : i386 2.4.18 */ | ||
7 | |||
8 | #define F_GETLK64 12 /* using 'struct flock64' */ | 4 | #define F_GETLK64 12 /* using 'struct flock64' */ |
9 | #define F_SETLK64 13 | 5 | #define F_SETLK64 13 |
10 | #define F_SETLKW64 14 | 6 | #define F_SETLKW64 14 |
11 | 7 | ||
12 | struct flock { | ||
13 | short l_type; | ||
14 | short l_whence; | ||
15 | off_t l_start; | ||
16 | off_t l_len; | ||
17 | pid_t l_pid; | ||
18 | }; | ||
19 | |||
20 | struct flock64 { | 8 | struct flock64 { |
21 | short l_type; | 9 | short l_type; |
22 | short l_whence; | 10 | short l_whence; |