2 * Copyright 2000, International Business Machines Corporation and others.
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
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
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
26 #endif /* __KERNEL__ && !DUMP_KERNEL */
29 * on sparclinux is O_LARGEFILE defined but there is not off64_t,
30 * so small hack to get usd_file.c work
33 #define __USE_FILE_OFFSET64 1
34 #define __USE_LARGEFILE64 1
36 #define off64_t __off64_t
40 #else /* !defined(UKERNEL) */
42 /* This section for user space compiles only */
43 #define UKERNEL 1 /* user space kernel */
45 #endif /* !defined(UKERNEL) */
47 /* Machine / Operating system information */
48 #define SYS_NAME "sparc_linux26"
49 #define SYS_NAME_ID SYS_NAME_ID_sparc_linux26
50 #define AFS_SYSCALL 227
51 #define AFSBIG_ENDIAN 1
53 #endif /* AFS_PARAM_H */