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_LINUX_ENV 1
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
24 #endif /* __KERNEL__ && !DUMP_KERNEL */
27 * on sparclinux is O_LARGEFILE defined but there is not off64_t,
28 * so small hack to get usd_file.c work
31 #define __USE_FILE_OFFSET64 1
32 #define __USE_LARGEFILE64 1
34 #define off64_t __off64_t
38 #else /* !defined(UKERNEL) */
40 /* This section for user space compiles only */
41 #define UKERNEL 1 /* user space kernel */
43 #endif /* !defined(UKERNEL) */
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
51 #endif /* AFS_PARAM_H */