about summary refs log tree commit diff
path: root/arch/or1k/pthread_arch.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/or1k/pthread_arch.h')
-rw-r--r--arch/or1k/pthread_arch.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/or1k/pthread_arch.h b/arch/or1k/pthread_arch.h
index ad631694..7decd769 100644
--- a/arch/or1k/pthread_arch.h
+++ b/arch/or1k/pthread_arch.h
@@ -14,5 +14,4 @@ static inline struct pthread *__pthread_self()
 #define TLS_ABOVE_TP
 #define TP_ADJ(p) ((char *)(p) + sizeof(struct pthread))
 
-/* word-offset to 'pc' in mcontext_t */
-#define CANCEL_REG_IP 32
+#define MC_PC regs.pc