patch-2.4.0-test12 linux/include/asm-mips64/fcntl.h

Next file: linux/include/asm-mips64/io.h
Previous file: linux/include/asm-mips64/bootinfo.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test11/linux/include/asm-mips64/fcntl.h linux/include/asm-mips64/fcntl.h
@@ -44,6 +44,12 @@
 #define F_SETSIG	10	/*  for sockets. */
 #define F_GETSIG	11	/*  for sockets. */
 
+#ifdef __KERNEL__
+#define F_GETLK64	33	/*  using 'struct flock64' */
+#define F_SETLK64	34
+#define F_SETLKW64	35
+#endif
+
 /* for F_[GET|SET]FL */
 #define FD_CLOEXEC	1	/* actually anything with low bit set goes */
 
@@ -81,5 +87,10 @@
 	long  pad[4];			/* ZZZZZZZZZZZZZZZZZZZZZZZZZZ */
 } flock_t;
 
+#ifdef __KERNEL__
+#define flock64		flock
+#endif
+
 #define F_LINUX_SPECIFIC_BASE	1024
+
 #endif /* _ASM_FCNTL_H */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)