From 023d3f3bae273d7af16d52fd0c468fc05653abe5 Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Wed, 27 Feb 2008 22:26:31 +0000 Subject: [PATCH] arm-lwp-adm-20080227 LICENSE IPL10 don't use ucontext lwp on arm linux --- src/config/param.linux26.h | 2 ++ src/lwp/Makefile.in | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/config/param.linux26.h b/src/config/param.linux26.h index 5245090..eeff2bb 100644 --- a/src/config/param.linux26.h +++ b/src/config/param.linux26.h @@ -91,11 +91,13 @@ #endif /* !defined(UKERNEL) */ +#ifndef AFS_ARM_LINUX24_ENV #ifdef __GLIBC__ #if (__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 3) #define USE_UCONTEXT #endif #endif +#endif #include diff --git a/src/lwp/Makefile.in b/src/lwp/Makefile.in index 64bdb03..104dad4 100644 --- a/src/lwp/Makefile.in +++ b/src/lwp/Makefile.in @@ -53,7 +53,7 @@ process.s: # Making process.o for $(SYS_NAME) process.o : process.s process.i386.s process.c @set -x; case "$(SYS_NAME)" in \ - sun4c_51 | sun4c_52 | sun4m_51 | sun4m_52 | sun4c_53 | sun4m_53 | sun4_53 | sun4_52 | sun4_54 | sun4c_54 | sun4m_54 | sun4x_5* ) \ + sun4c_51 | sun4c_52 | sun4m_51 | sun4m_52 | sun4c_53 | sun4m_53 | sun4_53 | sun4_52 | sun4_54 | sun4c_54 | sun4m_54 | sun4x_5* | arm_linux* ) \ $(CPP) -P -I${TOP_INCDIR} ${srcdir}/process.s process.ss; \ ${AS} process.ss -o process.o; \ $(RM) process.ss ;; \ -- 1.9.4