2 /* This section for kernel libafs compiles only */
5 * Copyright 2000, International Business Machines Corporation and others.
8 * This software has been released under the terms of the IBM Public
9 * License. For details, see the LICENSE file in the top-level source
10 * directory or online at http://www.openafs.org/dl/license10.html
17 /* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel,
18 * it's a judgment call. If something is obviously s390 specific, use that
19 * #define instead. Note that "20" refers to the linux 2.0 kernel. The "2"
20 * in the sysname is the current version of the client. This takes into
21 * account the perferred OS user space configuration as well as the kernel.
24 #define AFS_LINUX20_ENV 1
25 #define AFS_LINUX22_ENV 1
26 #define AFS_LINUX24_ENV 1
27 #define AFS_LINUX26_ENV 1
28 #define AFS_S390_LINUX20_ENV 1
29 #define AFS_S390_LINUX22_ENV 1
30 #define AFS_S390_LINUX24_ENV 1
31 #define AFS_S390X_LINUX20_ENV 1
32 #define AFS_S390X_LINUX22_ENV 1
33 #define AFS_S390X_LINUX24_ENV 1
34 #define AFS_S390X_LINUX26_ENV 1
36 #define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
37 #define AFS_SYSCALL 137
38 #define AFS_64BIT_ENV 1
39 #define AFS_64BITPOINTER_ENV 1
40 #define AFS_64BIT_CLIENT 1
41 #define AFS_64BIT_KERNEL 1
42 #define AFS_LINUX_64BIT_KERNEL 1
43 #define AFS_64BIT_IOPS_ENV 1
44 #define AFS_NAMEI_ENV 1 /* User space interface to file system */
45 #define AFS_MAXVCOUNT_ENV 1
47 #if defined(__KERNEL__) && !defined(KDUMP_KERNEL)
54 /* Using "AFS_SMP" to map to however many #define's are required to get
55 * MP to compile for Linux
65 #define AFS_GLOBAL_SUNLOCK
66 #endif /* __KERNEL__ && !DUMP_KERNEL */
68 #include <afs/afs_sysnames.h>
70 #define AFS_USERSPACE_IP_ADDR 1
71 #define RXK_LISTENER_ENV 1
74 /* Machine / Operating system information */
75 #define SYS_NAME "s390x_linux26"
76 #define SYS_NAME_ID SYS_NAME_ID_s390x_linux26
77 #define AFSBIG_ENDIAN 1
78 #define AFS_HAVE_FFS 1 /* Use system's ffs. */
79 #define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
80 #define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
81 #define AFS_USE_GETTIMEOFDAY 1 /* use gettimeofday to implement rx clock */
85 #define MIN(A,B) ((A) < (B) ? (A) : (B))
88 #define MAX(A,B) ((A) > (B) ? (A) : (B))
93 #if (__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 3)
97 #endif /* AFS_PARAM_H */
99 #else /* !defined(UKERNEL) */
101 /* This section for user space compiles only */
104 * Copyright 2000, International Business Machines Corporation and others.
105 * All Rights Reserved.
107 * This software has been released under the terms of the IBM Public
108 * License. For details, see the LICENSE file in the top-level source
109 * directory or online at http://www.openafs.org/dl/license10.html
115 /* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel,
116 * it's a judgment call. If something is obviously s390 specific, use that
117 * #define instead. Note that "20" refers to the linux 2.0 kernel. The "2"
118 * in the sysname is the current version of the client. This takes into
119 * account the perferred OS user space configuration as well as the kernel.
122 #define UKERNEL 1 /* user space kernel */
124 #define AFS_USR_LINUX20_ENV 1
125 #define AFS_USR_LINUX22_ENV 1
126 #define AFS_USR_LINUX24_ENV 1
127 #define AFS_USR_LINUX26_ENV 1
128 #define AFS_S390X_LINUX20_ENV 1
129 #define AFS_S390X_LINUX22_ENV 1
130 #define AFS_S390X_LINUX24_ENV 1
131 #define AFS_S390X_LINUX26_ENV 1
132 #define AFS_NONFSTRANS 1
134 #define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
135 #define AFS_SYSCALL 137
136 #define AFS_64BIT_ENV 1
137 #define AFS_64BIT_CLIENT 1
138 #define AFS_64BITPOINTER_ENV 1
139 #define AFS_64BIT_IOPS_ENV 1
140 #define AFS_NAMEI_ENV 1 /* User space interface to file system */
141 #include <afs/afs_sysnames.h>
143 #define AFS_USERSPACE_IP_ADDR 1
144 #define RXK_LISTENER_ENV 1
145 #define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
148 /* Machine / Operating system information */
149 #define SYS_NAME "s390x_linux26"
150 #define SYS_NAME_ID SYS_NAME_ID_s390x_linux26
151 #define AFSBIG_ENDIAN 1
152 #define AFS_HAVE_FFS 1 /* Use system's ffs. */
153 #define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
154 #define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
156 #define afsio_iov uio_iov
157 #define afsio_iovcnt uio_iovcnt
158 #define afsio_offset uio_offset
159 #define afsio_seg uio_segflg
160 #define afsio_fmode uio_fmode
161 #define afsio_resid uio_resid
163 #define AFS_UIOUSER UIO_USERSPACE
164 #define AFS_CLBYTES MCLBYTES
165 #define AFS_MINCHANGE 2
166 #define VATTR_NULL usr_vattr_null
173 #endif /* AFS_PARAM_H */
175 #endif /* !defined(UKERNEL) */