aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-mips/fcntl.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-mips/fcntl.h')
-rw-r--r--include/asm-mips/fcntl.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/include/asm-mips/fcntl.h b/include/asm-mips/fcntl.h
index fb824bf09296..06c5d13faf66 100644
--- a/include/asm-mips/fcntl.h
+++ b/include/asm-mips/fcntl.h
@@ -52,15 +52,6 @@ struct flock {
52 long pad[4]; 52 long pad[4];
53}; 53};
54 54
55typedef struct flock64 {
56 short l_type;
57 short l_whence;
58 loff_t l_start;
59 loff_t l_len;
60 pid_t l_pid;
61} flock64_t;
62
63
64#define HAVE_ARCH_STRUCT_FLOCK 55#define HAVE_ARCH_STRUCT_FLOCK
65 56
66#endif 57#endif
@@ -68,5 +59,8 @@ typedef struct flock64 {
68#include <asm-generic/fcntl.h> 59#include <asm-generic/fcntl.h>
69 60
70typedef struct flock flock_t; 61typedef struct flock flock_t;
62#ifndef __mips64
63typedef struct flock64 flock64_t;
64#endif
71 65
72#endif /* _ASM_FCNTL_H */ 66#endif /* _ASM_FCNTL_H */