Date: Mon, 11 Dec 2006 00:12:12 GMT From: Marcel Moolenaar <marcel@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 111426 for review Message-ID: <200612110012.kBB0CCht077119@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=111426 Change 111426 by marcel@marcel_nfs on 2006/12/11 00:12:01 Save local changes. Affected files ... .. //depot/projects/ia64/lib/libpthread/arch/ia64/include/atomic_ops.h#2 edit .. //depot/projects/ia64/lib/libpthread/arch/ia64/include/pthread_md.h#12 edit Differences ... ==== //depot/projects/ia64/lib/libpthread/arch/ia64/include/atomic_ops.h#2 (text+ko) ==== @@ -32,13 +32,13 @@ static inline void atomic_swap_int(int *dst, int val, int *res) { - __asm("xchg4 %0=[%2],%1" : "=r"(*res) : "r"(val), "r"(dst)); + __asm __volatile("xchg4 %0=[%2],%1" : "=r"(*res) : "r"(val), "r"(dst)); } static inline void atomic_swap_long(long *dst, long val, long *res) { - __asm("xchg8 %0=[%2],%1" : "=r"(*res) : "r"(val), "r"(dst)); + __asm __volatile("xchg8 %0=[%2],%1" : "=r"(*res) : "r"(val), "r"(dst)); } #define atomic_swap_ptr(d,v,r) \ ==== //depot/projects/ia64/lib/libpthread/arch/ia64/include/pthread_md.h#12 (text+ko) ==== @@ -33,7 +33,7 @@ #include <stddef.h> #include <ucontext.h> -#define KSE_STACKSIZE 16384 +#define KSE_STACKSIZE (1024*1024) #define DTV_OFFSET offsetof(struct tcb, tcb_tp.tp_dtv) #define THR_GETCONTEXT(ucp) _ia64_save_context(&(ucp)->uc_mcontext)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612110012.kBB0CCht077119>