add io_pgetevents and rseq syscall numbers from linux v4.18
[musl] / arch / x32 / pthread_arch.h
index 23e1051..f640a1a 100644 (file)
@@ -1,10 +1,14 @@
 static inline struct pthread *__pthread_self()
 {
        struct pthread *self;
-       __asm__ __volatile__ ("mov %%fs:0,%0" : "=r" (self) );
+       __asm__ ("mov %%fs:0,%0" : "=r" (self) );
        return self;
 }
 
 #define TP_ADJ(p) (p)
 
-#define CANCEL_REG_IP 32
+#define MC_PC gregs[REG_RIP]
+
+#define CANARY canary2
+
+#define tls_mod_off_t unsigned long long