patch-2.4.0-test10 linux/include/asm-ia64/fcntl.h

Next file: linux/include/asm-ia64/hardirq.h
Previous file: linux/include/asm-ia64/efi.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test9/linux/include/asm-ia64/fcntl.h linux/include/asm-ia64/fcntl.h
@@ -3,8 +3,8 @@
 /*
  * This is mostly compatible with Linux/x86.
  *
- * Copyright (C) 1998, 1999 Hewlett-Packard Co
- * Copyright (C) 1998, 1999 David Mosberger-Tang <davidm@hpl.hp.com>
+ * Copyright (C) 1998-2000 Hewlett-Packard Co
+ * Copyright (C) 1998-2000 David Mosberger-Tang <davidm@hpl.hp.com>
  */
 
 /*
@@ -77,6 +77,10 @@
 	off_t l_len;
 	pid_t l_pid;
 };
+
+#ifdef __KERNEL__
+# define flock64	flock
+#endif
 
 #define F_LINUX_SPECIFIC_BASE	1024
 #endif /* _ASM_IA64_FCNTL_H */

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