1
#ifndef _PARAM_ALPHA_LINUX2216_22_H_
2
#define _PARAM_ALPHA_LINUX2216_22_H_
4
/* Linux 2.2.16 kernel on Alpha with glibc 2.2 */
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.
13
#define AFS_LINUX20_ENV 1
14
#define AFS_LINUX22_ENV 1
15
#define AFS_ALPHA_LINUX20_ENV 1
16
#define AFS_ALPHA_LINUX22_ENV 1
18
#define AFS_LINUX_64BIT_KERNEL 1
19
#define AFS_NONFSTRANS 1
21
#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
22
#define AFS_SYSCALL 338
23
#define AFS_64BIT_IOPS_ENV 1
24
#define AFS_NAMEI_ENV 1 /* User space interface to file system */
26
#define AFS_64BIT_ENV 1 /* Defines afs_int32 as int, not long. */
27
#define AFS_64BITPOINTER_ENV 1 /* pointers are 64 bits. */
29
#if defined(__KERNEL__) && !defined(KDUMP_KERNEL)
30
#include <linux/config.h>
34
/* Using "AFS_SMP" to map to however many #define's are required to get
35
* MP to compile for Linux
42
#define AFS_GLOBAL_SUNLOCK
44
#if defined(MODULE) && defined(CONFIG_MODVERSIONS)
46
#include <linux/modversions.h>
48
#endif /* __KERNEL__ && !DUMP_KERNEL*/
50
#include <afs/afs_sysnames.h>
52
#define AFS_USERSPACE_IP_ADDR 1
53
#define RXK_LISTENER_ENV 1
54
#define AFS_GCPAGS 2 /* Set to Userdisabled, allow sysctl to override */
56
/* Machine / Operating system information */
57
#define SYS_NAME "alpha_linux_22"
58
#define SYS_NAME_ID SYS_NAME_ID_alpha_linux_22
59
#define AFSLITTLE_ENDIAN 1
60
#define AFS_HAVE_FFS 1 /* Use system's ffs. */
61
#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
62
#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
66
#define MIN(A,B) ((A) < (B) ? (A) : (B))
69
#define MAX(A,B) ((A) > (B) ? (A) : (B))
73
#endif /* _PARAM_ALPHA_LINUX2216_22_H_ */