alpha-linux-24-base-support-20011011
[openafs.git] / src / config / param.alpha_linux_24.h
1 #ifndef _PARAM_ALPHA_LINUX_24_H_
2 #define _PARAM_ALPHA_LINUX_24_H_
3
4 /* Linux 2.2.16 kernel on Alpha with glibc 2.2 */
5  
6 /* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel,
7  * it's a judgment call. If something is obviously sparc64 specific, use that
8  * #define instead. Note that "20" refers to the linux 2.0 kernel. The "2"
9  * in the sysname is the current version of the client. This takes into
10  * account the perferred OS user space configuration as well as the kernel.
11  */
12
13 #define AFS_LINUX20_ENV        1
14 #define AFS_LINUX22_ENV        1
15 #define AFS_LINUX24_ENV     1
16 #define AFS_ALPHA_LINUX20_ENV  1
17 #define AFS_ALPHA_LINUX22_ENV  1
18 #define AFS_ALPHA_LINUX24_ENV  1
19 #define __alpha        1
20 #define AFS_LINUX_64BIT_KERNEL 1
21 #define AFS_NONFSTRANS 1
22
23 #define AFS_MOUNT_AFS "afs"    /* The name of the filesystem type. */
24 #define AFS_SYSCALL 338
25 #define AFS_64BIT_IOPS_ENV  1
26 #define AFS_NAMEI_ENV     1   /* User space interface to file system */
27
28 #define AFS_64BIT_ENV          1       /* Defines afs_int32 as int, not long. */
29 #define AFS_64BITPOINTER_ENV   1       /* pointers are 64 bits. */
30
31 #if defined(__KERNEL__) && !defined(KDUMP_KERNEL)
32 #include <linux/config.h>
33 #ifdef CONFIG_SMP
34 #undef CONFIG_SMP
35 #endif
36 /* Using "AFS_SMP" to map to however many #define's are required to get
37  * MP to compile for Linux
38  */
39 #ifdef AFS_SMP
40 #define CONFIG_SMP
41 #ifndef __SMP__
42 #define __SMP__
43 #endif
44 #define AFS_GLOBAL_SUNLOCK
45 #endif
46 #if defined(MODULE) && defined(CONFIG_MODVERSIONS)
47 #define MODVERSIONS
48 #include <linux/modversions.h>
49 #endif
50 #endif /* __KERNEL__  && !DUMP_KERNEL*/
51
52 #include <afs/afs_sysnames.h>
53
54 #define AFS_USERSPACE_IP_ADDR 1
55 #define RXK_LISTENER_ENV 1
56 #define AFS_GCPAGS             0       /* if nonzero, garbage collect PAGs */
57
58 /* Machine / Operating system information */
59 #define SYS_NAME       "alpha_linux_24"
60 #define SYS_NAME_ID    SYS_NAME_ID_alpha_linux_24
61 #define AFSLITTLE_ENDIAN    1
62 #define AFS_HAVE_FFS        1       /* Use system's ffs. */
63 #define AFS_HAVE_STATVFS    0  /* System doesn't support statvfs */
64 #define AFS_VM_RDWR_ENV            1   /* read/write implemented via VM */
65
66 #ifdef KERNEL
67 #ifndef MIN
68 #define MIN(A,B) ((A) < (B) ? (A) : (B))
69 #endif
70 #ifndef MAX
71 #define MAX(A,B) ((A) > (B) ? (A) : (B))
72 #endif
73 #endif /* KERNEL */
74
75 #endif /* _PARAM_ALPHA_LINUX_24_H_ */