X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=arch%2Fmips%2Fpthread_arch.h;h=f75379cf834deb53c02c31c5f28584b75c0e7a44;hb=fb247fafa04ee52dda816355ab0461132297b9a4;hp=60296fd669c3f91c4951540ece0a1a6e1e17138a;hpb=6315004f6102dca44c4ba50654a36967b8b9c2a6;p=musl diff --git a/arch/mips/pthread_arch.h b/arch/mips/pthread_arch.h index 60296fd6..f75379cf 100644 --- a/arch/mips/pthread_arch.h +++ b/arch/mips/pthread_arch.h @@ -5,4 +5,4 @@ static inline struct pthread *__pthread_self() return self; } -#define CANCEL_REG_IP 3 +#define CANCEL_REG_IP (3-(union {int __i; char __b;}){1}.__b)