aboutsummaryrefslogtreecommitdiff
path: root/sys/pc98
diff options
context:
space:
mode:
authorKATO Takenori <kato@FreeBSD.org>2000-09-08 11:20:04 +0000
committerKATO Takenori <kato@FreeBSD.org>2000-09-08 11:20:04 +0000
commitf907abc0b30f5493b638edbbe6e92a5a14fa08ab (patch)
tree2b57f625b56c447d77d975d7eb22d2efe75d20ff /sys/pc98
parent87beee9c902ac6d7fceb216c7dbd345b85327b45 (diff)
downloadsrc-f907abc0b30f5493b638edbbe6e92a5a14fa08ab.tar.gz
src-f907abc0b30f5493b638edbbe6e92a5a14fa08ab.zip
Merged from sys/i386/i386/machdep.c revision 1.407.
Notes
Notes: svn path=/head/; revision=65608
Diffstat (limited to 'sys/pc98')
-rw-r--r--sys/pc98/i386/machdep.c2
-rw-r--r--sys/pc98/pc98/machdep.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c
index 85b1ff9ee6e4..c8d8d7e977ba 100644
--- a/sys/pc98/i386/machdep.c
+++ b/sys/pc98/i386/machdep.c
@@ -2208,7 +2208,7 @@ init386(first)
_default_ldt = GSEL(GLDT_SEL, SEL_KPL);
lldt(_default_ldt);
#ifdef USER_LDT
- currentldt = _default_ldt;
+ PCPU_SET(currentldt, _default_ldt);
#endif
/* exceptions */
diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c
index 85b1ff9ee6e4..c8d8d7e977ba 100644
--- a/sys/pc98/pc98/machdep.c
+++ b/sys/pc98/pc98/machdep.c
@@ -2208,7 +2208,7 @@ init386(first)
_default_ldt = GSEL(GLDT_SEL, SEL_KPL);
lldt(_default_ldt);
#ifdef USER_LDT
- currentldt = _default_ldt;
+ PCPU_SET(currentldt, _default_ldt);
#endif
/* exceptions */