[PATCH] Clean up the fcntl operations
[pandora-kernel.git] / include / asm-sh / fcntl.h
1 #ifndef __ASM_SH_FCNTL_H
2 #define __ASM_SH_FCNTL_H
3
4 #define F_GETLK64       12      /*  using 'struct flock64' */
5 #define F_SETLK64       13
6 #define F_SETLKW64      14
7
8 struct flock {
9         short l_type;
10         short l_whence;
11         off_t l_start;
12         off_t l_len;
13         pid_t l_pid;
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
24 #include <asm-generic/fcntl.h>
25
26 #endif /* __ASM_SH_FCNTL_H */
27