PERFORCE change 111426 for review
Marcel Moolenaar
marcel at FreeBSD.org
Sun Dec 10 16:12:14 PST 2006
http://perforce.freebsd.org/chv.cgi?CH=111426
Change 111426 by marcel at 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)
More information about the p4-projects
mailing list