about src/lib/libkse/arch/arm/include/pthread_md.h

Soeren Straarup xride at x12.dk
Sat Feb 2 09:02:42 PST 2008


Hi,

Index: pthread_md.h
===================================================================
RCS file: /home/ncvs/src/lib/libkse/arch/arm/include/pthread_md.h,v
retrieving revision 1.9
diff -u -r1.9 pthread_md.h
--- pthread_md.h        9 Oct 2007 13:42:23 -0000       1.9
+++ pthread_md.h        1 Feb 2008 22:48:50 -0000
@@ -240,7 +240,7 @@
                tcb->tcb_tmbx.tm_lwp = kcb->kcb_kmbx.km_lwp;
                if (setmbox)
                        _thr_setcontext(mc, (intptr_t)&tcb->tcb_tmbx,
-                               (intptr_t
*)&kcb->kcb_kmbx.km_curthread);
+                               (intptr_t *)kcb->kcb_kmbx.km_curthread);
                else
                        _thr_setcontext(mc, 0, NULL);
        } else {


Is that change correct?

/Soeren

-- 
Soeren Straarup   | aka OZ2DAK aka Xride
FreeBSD committer | FreeBSD since 2.2.6-R
  If a program is not working right, then send a patch


More information about the freebsd-arm mailing list