diff options
author | kato <kato@FreeBSD.org> | 1998-09-01 07:17:36 +0000 |
---|---|---|
committer | kato <kato@FreeBSD.org> | 1998-09-01 07:17:36 +0000 |
commit | 1a37f7b056369ef1bfbeab2b1d8fd13fa0930eb4 (patch) | |
tree | 834f2ab68dd47151eaa6483862557bbaa15e2d74 /sys/pc98 | |
parent | 7144badade00b1a8182e70b46e7553726d1651dd (diff) | |
download | FreeBSD-src-1a37f7b056369ef1bfbeab2b1d8fd13fa0930eb4.zip FreeBSD-src-1a37f7b056369ef1bfbeab2b1d8fd13fa0930eb4.tar.gz |
Sync with sys/i386/i386/machdep.c revision 1.306.
Diffstat (limited to 'sys/pc98')
-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 a465db5..738cf19 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 a465db5..738cf19 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)); } /* |