aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-s390/fcntl.h
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2005-09-06 18:18:01 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-07 19:57:38 -0400
commit8d286aa5eaf951bf53d4a0f64576d4b377c435ba (patch)
treec2304e6fc3af25b6a09f974fa09db753f6bd8cea /include/asm-s390/fcntl.h
parent5ac353f9baf7169298ebb7de86b2d697b25bca44 (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-s390/fcntl.h')
-rw-r--r--include/asm-s390/fcntl.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/include/asm-s390/fcntl.h b/include/asm-s390/fcntl.h
index 3a66fba09ee9..46ab12db5739 100644
--- a/include/asm-s390/fcntl.h
+++ b/include/asm-s390/fcntl.h
@@ -1,27 +1 @@
1/*
2 * include/asm-s390/fcntl.h
3 *
4 * S390 version
5 *
6 * Derived from "include/asm-i386/fcntl.h"
7 */
8#ifndef _S390_FCNTL_H
9#define _S390_FCNTL_H
10
11#ifndef __s390x__
12#define F_GETLK64 12 /* using 'struct flock64' */
13#define F_SETLK64 13
14#define F_SETLKW64 14
15
16struct flock64 {
17 short l_type;
18 short l_whence;
19 loff_t l_start;
20 loff_t l_len;
21 pid_t l_pid;
22};
23#endif
24
25#include <asm-generic/fcntl.h> #include <asm-generic/fcntl.h>
26
27#endif