From a8084030ad204353e41f36d8c889af2c9232864e Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Mon, 3 Nov 2003 21:30:00 +0000 Subject: [PATCH] Add a per-thread variable for saving the state of eflags to support the critical section code. --- sys/i386/include/proc.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/i386/include/proc.h b/sys/i386/include/proc.h index bff037aba034..ff8d8b1f15d1 100644 --- a/sys/i386/include/proc.h +++ b/sys/i386/include/proc.h @@ -51,9 +51,7 @@ struct proc_ldt { * Machine-dependent part of the proc structure for i386. */ struct mdthread { -#ifdef lint - int dummy; -#endif + register_t md_savecrit; }; struct mdproc {