linux-param-generator-20060831
[openafs.git] / src / config / param.sparc_linux24.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_LINUX20_ENV   1
16 #define AFS_SPARC_LINUX22_ENV   1
17 #define AFS_SPARC_LINUX24_ENV   1
18
19 #if defined(__KERNEL__) && !defined(KDUMP_KERNEL)
20 #if defined(AFS_SMP) && defined(CONFIG_MODVERSIONS)
21 /* hack, I don't know what else with theese symbols */
22 #define _do_spin_lock _do_spin_lock_R__ver__do_spin_lock
23 #define _do_spin_unlock _do_spin_unlock_R__ver__do_spin_unlock
24 #define kernel_flag kernel_flag_R__ver_kernel_flag
25 #endif
26 #endif /* __KERNEL__  && !DUMP_KERNEL */
27
28 /*
29  * on sparclinux is O_LARGEFILE defined but there is not off64_t,
30  * so small hack to get usd_file.c work
31  */
32 #ifndef KERNEL
33 #define __USE_FILE_OFFSET64     1
34 #define __USE_LARGEFILE64       1
35 #if !defined off64_t
36 #define off64_t __off64_t
37 #endif
38 #endif
39
40 #else /* !defined(UKERNEL) */
41
42 /* This section for user space compiles only */
43 #define UKERNEL                 1       /* user space kernel */
44
45 #endif /* !defined(UKERNEL) */
46
47 /* Machine / Operating system information */
48 #define SYS_NAME                "sparc_linux24"
49 #define SYS_NAME_ID             SYS_NAME_ID_sparc_linux24
50 #define AFS_SYSCALL             227
51 #define AFSBIG_ENDIAN           1
52
53 #endif /* AFS_PARAM_H */