projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
overhaul powerpc atomics for new atomics framework
[musl]
/
arch
/
x32
/
pthread_arch.h
diff --git
a/arch/x32/pthread_arch.h
b/arch/x32/pthread_arch.h
index
29e4590
..
ecb0bbf
100644
(file)
--- a/
arch/x32/pthread_arch.h
+++ b/
arch/x32/pthread_arch.h
@@
-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