LICENSE BSD
Use undef in the arch-specific param file to override UCONTEXT rather
than adding a conditional in a generic file, making arm work the same
as 32-bit SPARC. Disable UCONTEXT on parisc as well; glibc doesn't
provide the ucontext functions on that architecture.
#define AFSLITTLE_ENDIAN 1
#define AFS_SYSCALL 137
+/* glibc doesn't implement getcontext/savecontext for arm. */
+#undef USE_UCONTEXT
+
#endif /* AFS_PARAM_H */
#ifndef __NR_afs_syscall
#define __NR_afs_syscall 137
#endif
+
+/* glibc doesn't implement getcontext/savecontext for arm. */
+#undef USE_UCONTEXT
+
#endif /* AFS_PARAM_H */
#endif /* !defined(UKERNEL) */
-#ifndef AFS_ARM_LINUX24_ENV
#ifdef __GLIBC__
#if (__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 3)
#define USE_UCONTEXT
#endif
#endif
-#endif
#ifndef HAVE_IGET
#define AFS_CACHE_VNODE_PATH 1
#define AFSBIG_ENDIAN 1
#define AFS_SYSCALL 137
+/* glibc doesn't implement getcontext/savecontext for parisc. */
+#undef USE_UCONTEXT
+
#endif /* AFS_PARAM_H */