libuafs: enable 64 bit mode on linux
[openafs.git] / src / config / param.linux26.h
index 1a05b08..ca9c08f 100644 (file)
@@ -21,8 +21,8 @@
 #define AFS_MOUNT_AFS          "afs"   /* The name of the filesystem type */
 #define AFS_64BIT_IOPS_ENV     1
 #define AFS_NAMEI_ENV          1       /* User space interface to file system */
-#define AFS_64BIT_ENV          1
 #define AFS_64BIT_CLIENT       1
+#undef  AFS_NONFSTRANS
 #define AFS_NONFSTRANS         1
 #define AFS_USERSPACE_IP_ADDR  1
 #define RXK_LISTENER_ENV       1
@@ -33,6 +33,8 @@
 #define AFS_USE_GETTIMEOFDAY   1       /* use gettimeofday to implement rx clock */
 #define AFS_MAXVCOUNT_ENV       1
 
+#define AFS_PRIVATE_OSI_ALLOCSPACES    1
+
 #if defined(__KERNEL__) && !defined(KDUMP_KERNEL)
 #define AFS_GLOBAL_SUNLOCK
 #endif /* __KERNEL__   && !DUMP_KERNEL */
@@ -63,6 +65,8 @@
 #define AFS_USR_LINUX26_ENV    1
 
 #define AFS_ENV                        1
+#define AFS_64BIT_CLIENT       1
+#undef  AFS_NONFSTRANS
 #define AFS_NONFSTRANS                 1
 #define AFS_MOUNT_AFS          "afs"   /* The name of the filesystem type. */
 #define AFS_64BIT_IOPS_ENV     1
@@ -72,7 +76,6 @@
 #define AFS_GCPAGS             0       /* if nonzero, garbage collect PAGs */
 #define AFS_HAVE_FFS           1       /* Use system's ffs. */
 #define AFS_HAVE_STATVFS       0       /* System doesn't support statvfs */
-#define AFS_VM_RDWR_ENV                1       /* read/write implemented via VM */
 
 #define        afsio_iov       uio_iov
 #define        afsio_iovcnt    uio_iovcnt
 
 #endif /* !defined(UKERNEL) */
 
+#if defined(UKERNEL) || !defined(KERNEL)
+#include <features.h>
+#endif
+
+#ifdef notyet
+#if defined(HAVE_LINUX_ERRQUEUE_H) && defined(HAVE_SETSOCKOPT_IP_RECVERR)
+# define AFS_RXERRQ_ENV
+#endif
+#ifdef AFS_RXERRQ_ENV
+# define AFS_ADAPT_PMTU
+#endif
+#endif
+
 #ifdef __GLIBC__
 #if (__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 3)
 #define USE_UCONTEXT