overhaul powerpc atomics for new atomics framework
[musl] / arch / x32 / pthread_arch.h
index 29e4590..ecb0bbf 100644 (file)
@@ -7,4 +7,6 @@ static inline struct pthread *__pthread_self()
 
 #define TP_ADJ(p) (p)
 
-#define CANCEL_REG_IP 16
+#define MC_PC gregs[REG_RIP]
+
+#define CANARY canary2