diff options
Diffstat (limited to 'sys/arch/i386/i386/linux_machdep.c')
-rw-r--r-- | sys/arch/i386/i386/linux_machdep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/i386/i386/linux_machdep.c b/sys/arch/i386/i386/linux_machdep.c index fd8dd6dc4c9..9aa4fa2302c 100644 --- a/sys/arch/i386/i386/linux_machdep.c +++ b/sys/arch/i386/i386/linux_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: linux_machdep.c,v 1.25 2003/03/28 00:49:13 miod Exp $ */ +/* $OpenBSD: linux_machdep.c,v 1.26 2003/04/17 03:42:14 drahn Exp $ */ /* $NetBSD: linux_machdep.c,v 1.29 1996/05/03 19:42:11 christos Exp $ */ /* @@ -149,8 +149,8 @@ linux_sendsig(catcher, sig, mask, code, type, val) } else #endif { - __asm("movl %%gs,%w0" : "=r" (frame.sf_sc.sc_gs)); - __asm("movl %%fs,%w0" : "=r" (frame.sf_sc.sc_fs)); + __asm("movl %%gs,%k0" : "=r" (frame.sf_sc.sc_gs)); + __asm("movl %%fs,%k0" : "=r" (frame.sf_sc.sc_fs)); frame.sf_sc.sc_es = tf->tf_es; frame.sf_sc.sc_ds = tf->tf_ds; frame.sf_sc.sc_eflags = tf->tf_eflags; |