hack to switch from spin_lock_irq to spin_lock_irqsave to avoid the
paravirt redirection so that the module will build.
* Enable ucontext for all Linux builds with glibc 2.4 or later, not just
- with i386 and amd64. Newer versions of glibc change internal
- structures in ways that cause the old LWP code to have stack
- overflows. (Closes: #419903)
+ with i386 and amd64, and (following an upstream patch) always use
+ ucontext on ia64. Newer versions of glibc change internal structures
+ in ways that cause the old LWP code to have stack overflows.
+ (Closes: #419903)
* Apply upstream patch to crashes on contention in afs_xuser when a
process in a PAG exits. Thanks, Chaskiel Grundman.
* When determining the AFS sysname for kernel module builds, add
#endif
#endif /* KERNEL */
+#define USE_UCONTEXT /* should be in afsconfig.h */
-#ifdef __GLIBC__
-#if (__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 3)
-#define USE_UCONTEXT
-#endif
-#endif
#endif /* _PARAM_IA64_LINUX20_H_ */
#else /* !defined(UKERNEL) */
#define CMSERVERPREF
#endif
+#define USE_UCONTEXT /* should be in afsconfig.h */
#endif /* AFS_PARAM_H */