patch-2.1.16 linux/include/asm-ppc/fcntl.h

Next file: linux/include/asm-ppc/floppy.h
Previous file: linux/include/asm-ppc/elf.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.15/linux/include/asm-ppc/fcntl.h linux/include/asm-ppc/fcntl.h
@@ -48,6 +48,12 @@
 				   blocking */
 #define LOCK_UN		8	/* remove lock */
 
+#ifdef __KERNEL__
+#define F_POSIX		1
+#define F_FLOCK		2
+#define F_BROKEN	4	/* broken flock() emulation */
+#endif /* __KERNEL__ */
+
 struct flock {
 	short l_type;
 	short l_whence;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov