projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
namespace fixes for sys/mman.h
[oweals/musl.git]
/
arch
/
x86_64
/
pthread_arch.h
diff --git
a/arch/x86_64/pthread_arch.h
b/arch/x86_64/pthread_arch.h
index 40d267979b82ae4296566feacfa77a565d8747d6..c424493a350dd7420dbf5845b2f9462b56774a9d 100644
(file)
--- a/
arch/x86_64/pthread_arch.h
+++ b/
arch/x86_64/pthread_arch.h
@@
-4,3
+4,6
@@
static inline struct pthread *__pthread_self()
__asm__ ("movq %%fs:0,%0" : "=r" (self) );
return self;
}
+
+#define CANCEL_REG_SP 15
+#define CANCEL_REG_IP 16