define LONG_MAX via arch alltypes.h, strip down bits/limits.h
[oweals/musl.git] / arch / i386 / pthread_arch.h
index 1c06c7641df683b9ffe14c0e91f0b1da192abbe0..6f600b9e0151a0ea6cfca1199d2f4e4097988c0e 100644 (file)
@@ -1,10 +1,10 @@
 static inline struct pthread *__pthread_self()
 {
        struct pthread *self;
-       __asm__ __volatile__ ("movl %%gs:0,%0" : "=r" (self) );
+       __asm__ ("movl %%gs:0,%0" : "=r" (self) );
        return self;
 }
 
 #define TP_ADJ(p) (p)
 
-#define CANCEL_REG_IP 14
+#define MC_PC gregs[REG_EIP]