diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2005-09-06 15:18:01 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-07 16:57:38 -0700 |
commit | 8d286aa5eaf951bf53d4a0f64576d4b377c435ba (patch) | |
tree | c2304e6fc3af25b6a09f974fa09db753f6bd8cea /include/asm-ppc | |
parent | 5ac353f9baf7169298ebb7de86b2d697b25bca44 (diff) | |
download | op-kernel-dev-8d286aa5eaf951bf53d4a0f64576d4b377c435ba.zip op-kernel-dev-8d286aa5eaf951bf53d4a0f64576d4b377c435ba.tar.gz |
[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-ppc')
-rw-r--r-- | include/asm-ppc/fcntl.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/include/asm-ppc/fcntl.h b/include/asm-ppc/fcntl.h index 4480f21..7ef3744 100644 --- a/include/asm-ppc/fcntl.h +++ b/include/asm-ppc/fcntl.h @@ -6,20 +6,6 @@ #define O_LARGEFILE 0200000 #define O_DIRECT 0400000 /* direct disk access hint */ -#ifndef __powerpc64__ -#define F_GETLK64 12 /* using 'struct flock64' */ -#define F_SETLK64 13 -#define F_SETLKW64 14 - -struct flock64 { - short l_type; - short l_whence; - loff_t l_start; - loff_t l_len; - pid_t l_pid; -}; -#endif - #include <asm-generic/fcntl.h> #endif /* _PPC_FCNTL_H */ |