]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
DEVEL15-linux-ucontext-fixes-20080630
authorRuss Allbery <rra@stanford.edu>
Mon, 30 Jun 2008 21:51:38 +0000 (21:51 +0000)
committerRuss Allbery <rra@stanford.edu>
Mon, 30 Jun 2008 21:51:38 +0000 (21:51 +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 d44edc4013ff7a17777974f7edd7e6feba2de587..33ef100a4b3d873f026e4dac711a830b2f1c560b 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 01b6f7b73447e450403727d49cc985404e197e91..abd67e603ff89055ec9915ec1d8c61a7edba93de 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 322d482e8e830a96906ac7c0b536e0e2f16dcab2..6324c3adc9e2d4f21a99ba3bd89d3e32e98f7795 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) */