]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-linux-ucontext-fixes-20080630
authorRuss Allbery <rra@stanford.edu>
Mon, 30 Jun 2008 21:52:22 +0000 (21:52 +0000)
committerRuss Allbery <rra@stanford.edu>
Mon, 30 Jun 2008 21:52:22 +0000 (21:52 +0000)
LICENSE BSD

Enable UCONTEXT on alpha, s390, and s390x for glibc > 2.3.  This is the
semantic backport of linux-ucontext-fixes-20080630 adjusted for the
param file reorganization.

(cherry picked from commit 9f94f89a7a894651f18947ec7ac20959f9326478)

src/config/param.alpha_linux_26.h
src/config/param.s390_linux26.h
src/config/param.s390x_linux26.h

index 1d44da6d742b4054bfc8dfa209710ecd9b0ee1ec..f8213aac2c5380329581f949ea1844d850d967f7 100644 (file)
 #define SYS_NAME       "alpha_linux_26"
 #define SYS_NAME_ID    SYS_NAME_ID_alpha_linux_26
 
-
+#ifdef __GLIBC__
+#if (__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 3)
+#define USE_UCONTEXT
+#endif
+#endif
 #endif /* AFS_PARAM_H */
                                     
 #else /* !defined(UKERNEL) */
index a941c28c384e186d7f8fc614bdd35517d4b5ad3d..cf3ebf7e12b968451626f0eb9473aac754f301d3 100644 (file)
 #endif
 #endif /* KERNEL */
 
+#ifdef __GLIBC__
+#if (__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 3)
+#define USE_UCONTEXT
+#endif
+#endif
 #endif /* AFS_PARAM_H */
 
 #else /* !defined(UKERNEL) */
index 5ad1806f46ef19cd0e01239a54ac60a351e300f7..bb3bc8515829ee53074e06e232e3d50a65ea7033 100644 (file)
 #endif
 #endif /* KERNEL */
 
+#ifdef __GLIBC__
+#if (__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 3)
+#define USE_UCONTEXT
+#endif
+#endif
 #endif /* AFS_PARAM_H */
 
 #else /* !defined(UKERNEL) */