]> Pileus Git - ~andy/linux/blob - include/asm-s390/fcntl.h
[PATCH] Clean up struct flock definitions
[~andy/linux] / include / asm-s390 / fcntl.h
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
16 struct 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>
26
27 #endif