From 286cc4901448f19261ed2a665200899106cf29f6 Mon Sep 17 00:00:00 2001 From: Marcel Moolenaar Date: Thu, 24 Jul 2003 07:34:31 +0000 Subject: [PATCH] Use a spare for the thread pointer (mc_thrptr). The thread pointer is only read and written by set_mcontext() and get_mcontext() for use by threading libraries. --- sys/alpha/include/ucontext.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/alpha/include/ucontext.h b/sys/alpha/include/ucontext.h index 2c3ed7053a72..d60cc6c3523b 100644 --- a/sys/alpha/include/ucontext.h +++ b/sys/alpha/include/ucontext.h @@ -50,7 +50,8 @@ typedef struct __mcontext { #define _MC_REV0_SIGFRAME 1 /* context is a signal frame */ #define _MC_REV0_TRAPFRAME 2 /* context is a trap frame */ long mc_format; - long mc_spare[6]; + long mc_thrptr; /* Thread pointer */ + long mc_spare[5]; } mcontext_t; #if defined(_KERNEL) && defined(COMPAT_FREEBSD4)