summaryrefslogtreecommitdiff
path: root/arch/x32/pthread_arch.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x32/pthread_arch.h')
-rw-r--r--arch/x32/pthread_arch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x32/pthread_arch.h b/arch/x32/pthread_arch.h
index 033bfd69..ecb0bbfb 100644
--- a/arch/x32/pthread_arch.h
+++ b/arch/x32/pthread_arch.h
@@ -7,6 +7,6 @@ static inline struct pthread *__pthread_self()
#define TP_ADJ(p) (p)
-#define CANCEL_REG_IP 32
+#define MC_PC gregs[REG_RIP]
#define CANARY canary2