Sync with sys/i386/i386/machdep.c revision 1.306.

This commit is contained in:
kato 1998-09-01 07:17:36 +00:00
parent 7144badade
commit 1a37f7b056
2 changed files with 6 additions and 6 deletions
sys/pc98

@ -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));
}
/*

@ -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));
}
/*