properly access mcontext_t program counter in cancellation handler
[oweals/musl.git] / arch / sh / pthread_arch.h
index 65c389ff460519871eebd99228c809601c414139..2756e7ec1934069e70fb996a680467f904264b39 100644 (file)
@@ -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