aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sparc/fcntl.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sparc/fcntl.h')
-rw-r--r--include/asm-sparc/fcntl.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/include/asm-sparc/fcntl.h b/include/asm-sparc/fcntl.h
index 634557374e95..5db60b5ae7b0 100644
--- a/include/asm-sparc/fcntl.h
+++ b/include/asm-sparc/fcntl.h
@@ -23,25 +23,13 @@
23#define F_SETLK 8 23#define F_SETLK 8
24#define F_SETLKW 9 24#define F_SETLKW 9
25 25
26#define F_GETLK64 12 /* using 'struct flock64' */
27#define F_SETLK64 13
28#define F_SETLKW64 14
29
30/* for posix fcntl() and lockf() */ 26/* for posix fcntl() and lockf() */
31#define F_RDLCK 1 27#define F_RDLCK 1
32#define F_WRLCK 2 28#define F_WRLCK 2
33#define F_UNLCK 3 29#define F_UNLCK 3
34 30
35struct flock64 {
36 short l_type;
37 short l_whence;
38 loff_t l_start;
39 loff_t l_len;
40 pid_t l_pid;
41 short __unused;
42};
43
44#define __ARCH_FLOCK_PAD short __unused; 31#define __ARCH_FLOCK_PAD short __unused;
32#define __ARCH_FLOCK64_PAD short __unused;
45 33
46#include <asm-generic/fcntl.h> 34#include <asm-generic/fcntl.h>
47 35