1 /* Copyright (C) 1998 by Transarc Corporation */
7 /* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel,
8 * it's a judgment call. If something is obviously ia64 specific, use that
9 * #define instead. Note that "20" refers to the linux 2.0 kernel. The "2"
10 * in the sysname is the current version of the client. This takes into
11 * account the perferred OS user space configuration as well as the kernel.
14 #define AFS_LINUX20_ENV 1
15 #define AFS_LINUX22_ENV 1
16 #define AFS_LINUX24_ENV 1
17 #define AFS_IA64_LINUX20_ENV 1
18 #define AFS_IA64_LINUX22_ENV 1
19 #define AFS_IA64_LINUX24_ENV 1
20 #define AFS_LINUX_64BIT_KERNEL 1
21 #define AFS_NONFSTRANS 1
23 #define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
24 #define AFS_SYSCALL 1141
25 #define AFS_64BIT_IOPS_ENV 1
26 #define AFS_NAMEI_ENV 1 /* User space interface to file system */
28 #define AFS_64BIT_ENV 1 /* Defines afs_int32 as int, not long. */
30 #define AFS_64BITPOINTER_ENV 1 /* pointers are 64 bits. */
32 #if defined(__KERNEL__) && !defined(KDUMP_KERNEL)
33 #include <linux/config.h>
37 /* Using "AFS_SMP" to map to however many #define's are required to get
38 * MP to compile for Linux
45 #define AFS_GLOBAL_SUNLOCK
48 #if defined(MODULE) && defined(CONFIG_MODVERSIONS)
50 #include <linux/modversions.h>
53 #endif /* __KERNEL__ && !DUMP_KERNEL*/
55 #include <afs/afs_sysnames.h>
57 #define AFS_USERSPACE_IP_ADDR 1
58 #define RXK_LISTENER_ENV 1
59 #define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
61 /* Machine / Operating system information */
62 #define SYS_NAME "ia64_linux24"
63 #define SYS_NAME_ID SYS_NAME_ID_ia64_linux24
64 #define AFSLITTLE_ENDIAN 1
65 #define AFS_HAVE_FFS 1 /* Use system's ffs. */
66 #define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
67 #define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
71 #define MIN(A,B) ((A) < (B) ? (A) : (B))
74 #define MAX(A,B) ((A) > (B) ? (A) : (B))
78 #define HAVE_UCONTEXT_H /* should be in afsconfig.h */
80 #endif /* _PARAM_IA64_LINUX20_H_ */