X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=arch%2Fi386%2Fpthread_arch.h;h=1c06c7641df683b9ffe14c0e91f0b1da192abbe0;hp=155b484732c4a2e5aa496ca8bda23d27ce0d2957;hb=121e3a38a1d0b324696fc1671029e4b815ea7fa4;hpb=7b2dd2235dd0db3a2f71e25d1c0925e0348e1996 diff --git a/arch/i386/pthread_arch.h b/arch/i386/pthread_arch.h index 155b4847..1c06c764 100644 --- a/arch/i386/pthread_arch.h +++ b/arch/i386/pthread_arch.h @@ -1,6 +1,10 @@ static inline struct pthread *__pthread_self() { struct pthread *self; - __asm__ ("movl %%gs:0,%0" : "=r" (self) ); + __asm__ __volatile__ ("movl %%gs:0,%0" : "=r" (self) ); return self; } + +#define TP_ADJ(p) (p) + +#define CANCEL_REG_IP 14