Change AFS*_LINUXnn_ENV to AFS*_LINUX_ENV
[openafs.git] / src / config / param.sparc_linux26.h
1 /*
2  * Copyright 2000, International Business Machines Corporation and others.
3  * All Rights Reserved.
4  *
5  * This software has been released under the terms of the IBM Public
6  * License.  For details, see the LICENSE file in the top-level source
7  * directory or online at http://www.openafs.org/dl/license10.html
8  */
9
10 #ifndef AFS_PARAM_H
11 #define AFS_PARAM_H
12
13 #ifndef UKERNEL
14 /* This section for kernel libafs compiles only */
15 #define AFS_SPARC_LINUX_ENV     1
16
17 #if defined(__KERNEL__) && !defined(KDUMP_KERNEL)
18 #if defined(AFS_SMP) && defined(CONFIG_MODVERSIONS)
19 /* hack, I don't know what else with theese symbols */
20 #define _do_spin_lock _do_spin_lock_R__ver__do_spin_lock
21 #define _do_spin_unlock _do_spin_unlock_R__ver__do_spin_unlock
22 #define kernel_flag kernel_flag_R__ver_kernel_flag
23 #endif
24 #endif /* __KERNEL__  && !DUMP_KERNEL */
25
26 /*
27  * on sparclinux is O_LARGEFILE defined but there is not off64_t,
28  * so small hack to get usd_file.c work
29  */
30 #ifndef KERNEL
31 #define __USE_FILE_OFFSET64     1
32 #define __USE_LARGEFILE64       1
33 #if !defined off64_t
34 #define off64_t __off64_t
35 #endif
36 #endif
37
38 #else /* !defined(UKERNEL) */
39
40 /* This section for user space compiles only */
41 #define UKERNEL                 1       /* user space kernel */
42
43 #endif /* !defined(UKERNEL) */
44
45 /* Machine / Operating system information */
46 #define SYS_NAME                "sparc_linux26"
47 #define SYS_NAME_ID             SYS_NAME_ID_sparc_linux26
48 #define AFS_SYSCALL             227
49 #define AFSBIG_ENDIAN           1
50
51 #endif /* AFS_PARAM_H */