summaryrefslogtreecommitdiff
path: root/arch/i386
diff options
context:
space:
mode:
Diffstat (limited to 'arch/i386')
-rw-r--r--arch/i386/pthread_arch.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/i386/pthread_arch.h b/arch/i386/pthread_arch.h
index 0ea0aaca..1c06c764 100644
--- a/arch/i386/pthread_arch.h
+++ b/arch/i386/pthread_arch.h
@@ -5,5 +5,6 @@ static inline struct pthread *__pthread_self()
return self;
}
-#define CANCEL_REG_SP 7
+#define TP_ADJ(p) (p)
+
#define CANCEL_REG_IP 14