X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=arch%2Fi386%2Fpthread_arch.h;h=6f600b9e0151a0ea6cfca1199d2f4e4097988c0e;hb=b60fdf133c033d4ad6b04a8237f253563fae5928;hp=155b484732c4a2e5aa496ca8bda23d27ce0d2957;hpb=7b2dd2235dd0db3a2f71e25d1c0925e0348e1996;p=musl diff --git a/arch/i386/pthread_arch.h b/arch/i386/pthread_arch.h index 155b4847..6f600b9e 100644 --- a/arch/i386/pthread_arch.h +++ b/arch/i386/pthread_arch.h @@ -4,3 +4,7 @@ static inline struct pthread *__pthread_self() __asm__ ("movl %%gs:0,%0" : "=r" (self) ); return self; } + +#define TP_ADJ(p) (p) + +#define MC_PC gregs[REG_EIP]