diff options
| -rw-r--r-- | sys/pc98/i386/machdep.c | 6 | ||||
| -rw-r--r-- | sys/pc98/pc98/machdep.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c index a465db5ab0c1..738cf192d4da 100644 --- a/sys/pc98/i386/machdep.c +++ b/sys/pc98/i386/machdep.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91 - * $Id: machdep.c,v 1.92 1998/08/31 08:41:58 kato Exp $ + * $Id: machdep.c,v 1.93 1998/09/01 02:04:17 kato Exp $ */ #include "apm.h" @@ -848,8 +848,8 @@ setregs(p, entry, stack) pcb->pcb_fs = _udatasel; pcb->pcb_gs = _udatasel; if (pcb == curpcb) { - __asm("mov %0,%%fs" : : "r" (_udatasel)); - __asm("mov %0,%%gs" : : "r" (_udatasel)); + __asm("movw %w0,%%fs" : : "r" (_udatasel)); + __asm("movw %w0,%%gs" : : "r" (_udatasel)); } /* diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c index a465db5ab0c1..738cf192d4da 100644 --- a/sys/pc98/pc98/machdep.c +++ b/sys/pc98/pc98/machdep.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91 - * $Id: machdep.c,v 1.92 1998/08/31 08:41:58 kato Exp $ + * $Id: machdep.c,v 1.93 1998/09/01 02:04:17 kato Exp $ */ #include "apm.h" @@ -848,8 +848,8 @@ setregs(p, entry, stack) pcb->pcb_fs = _udatasel; pcb->pcb_gs = _udatasel; if (pcb == curpcb) { - __asm("mov %0,%%fs" : : "r" (_udatasel)); - __asm("mov %0,%%gs" : : "r" (_udatasel)); + __asm("movw %w0,%%fs" : : "r" (_udatasel)); + __asm("movw %w0,%%gs" : : "r" (_udatasel)); } /* |
