URI: 
       ttry arm again - plan9port - [fork] Plan 9 from user space
  HTML git clone git://src.adamsgaard.dk/plan9port
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit 33a102fc287a36969db773a4c55f182081a291e1
   DIR parent 1e05fdf92cf4c3ae32c52d6928f3e74000b76f6a
  HTML Author: rsc <devnull@localhost>
       Date:   Fri,  4 Nov 2005 18:09:35 +0000
       
       ttry arm again
       
       Diffstat:
         M src/libthread/Linux.c               |       3 ---
         M src/libthread/threadimpl.h          |       5 +++++
       
       2 files changed, 5 insertions(+), 3 deletions(-)
       ---
   DIR diff --git a/src/libthread/Linux.c b/src/libthread/Linux.c
       t@@ -437,9 +437,6 @@ _threadpexit(void)
        }
        
        #ifdef __arm__
       -#define        setcontext(u)        setmcontext(&(u)->uc_mcontext)
       -#define        getcontext(u)        getmcontext(&(u)->uc_mcontext)
       -
        void
        makecontext(ucontext_t *uc, void (*fn)(void), int argc, ...)
        {
   DIR diff --git a/src/libthread/threadimpl.h b/src/libthread/threadimpl.h
       t@@ -42,6 +42,11 @@ extern        void                makecontext(ucontext_t*, void(*)(), int, ...);
        extern pid_t rfork_thread(int, void*, int(*)(void*), void*);
        #endif
        
       +#if defined(__arm__)
       +int _getmcontext(mcontext_t*);
       +void _setmcontext(mcontext_t*);
       +#endif
       +
        typedef struct Context Context;
        typedef struct Execjob Execjob;
        typedef struct Proc Proc;