diff options
-rw-r--r-- | sys/pc98/i386/machdep.c | 2 | ||||
-rw-r--r-- | sys/pc98/pc98/machdep.c | 2 |
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 */ |