projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
properly access mcontext_t program counter in cancellation handler
[oweals/musl.git]
/
arch
/
sh
/
pthread_arch.h
diff --git
a/arch/sh/pthread_arch.h
b/arch/sh/pthread_arch.h
index 65c389ff460519871eebd99228c809601c414139..2756e7ec1934069e70fb996a680467f904264b39 100644
(file)
--- a/
arch/sh/pthread_arch.h
+++ b/
arch/sh/pthread_arch.h
@@
-8,4
+8,4
@@
static inline struct pthread *__pthread_self()
#define TLS_ABOVE_TP
#define TP_ADJ(p) ((char *)(p) + sizeof(struct pthread) - 8)
-#define
CANCEL_REG_IP 17
+#define
MC_PC sc_pc