aboutsummaryrefslogtreecommitdiff
path: root/sys/i386
diff options
context:
space:
mode:
authorDavid Xu <davidxu@FreeBSD.org>2005-04-19 13:52:27 +0000
committerDavid Xu <davidxu@FreeBSD.org>2005-04-19 13:52:27 +0000
commit9a045ca17f6982d658a1d6d3bfc538d774044f05 (patch)
tree7f37194a5415d80527b31465d0870a5865211644 /sys/i386
parent753d5aee178457840bd2b2860e2b09d80d45790c (diff)
downloadsrc-9a045ca17f6982d658a1d6d3bfc538d774044f05.tar.gz
src-9a045ca17f6982d658a1d6d3bfc538d774044f05.zip
Further narrow down critical region of FSBASE code.
Notes
Notes: svn path=/head/; revision=145276
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/i386/sys_machdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/i386/sys_machdep.c b/sys/i386/i386/sys_machdep.c
index 137674fb791b..22f70248c33b 100644
--- a/sys/i386/i386/sys_machdep.c
+++ b/sys/i386/i386/sys_machdep.c
@@ -174,8 +174,8 @@ sysarch(td, uap)
critical_enter();
td->td_pcb->pcb_fsd = sd;
PCPU_GET(fsgs_gdt)[0] = sd;
- td->td_frame->tf_fs = GSEL(GUFS_SEL, SEL_UPL);
critical_exit();
+ td->td_frame->tf_fs = GSEL(GUFS_SEL, SEL_UPL);
}
break;
case I386_GET_GSBASE: