Module Name: src Committed By: taca Date: Sun Sep 20 10:29:30 UTC 2009
Modified Files: src/sys/compat/linux/arch/i386: linux_exec_machdep.c Log Message: Trying to fix build problem. Thanks to joerg's advise. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 \ src/sys/compat/linux/arch/i386/linux_exec_machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/compat/linux/arch/i386/linux_exec_machdep.c diff -u src/sys/compat/linux/arch/i386/linux_exec_machdep.c:1.12 src/sys/compat/linux/arch/i386/linux_exec_machdep.c:1.13 --- src/sys/compat/linux/arch/i386/linux_exec_machdep.c:1.12 Sun Mar 29 01:02:50 2009 +++ src/sys/compat/linux/arch/i386/linux_exec_machdep.c Sun Sep 20 10:29:30 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: linux_exec_machdep.c,v 1.12 2009/03/29 01:02:50 mrg Exp $ */ +/* $NetBSD: linux_exec_machdep.c,v 1.13 2009/09/20 10:29:30 taca Exp $ */ /*- * Copyright (c) 2004 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux_exec_machdep.c,v 1.12 2009/03/29 01:02:50 mrg Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_exec_machdep.c,v 1.13 2009/09/20 10:29:30 taca Exp $"); #if defined(_KERNEL_OPT) #include "opt_vm86.h" @@ -137,7 +137,7 @@ static __inline void load_gs(u_int sel) { - __asm __volatile("movl %0,%%gs" : : "rm" (sel)); + __asm __volatile("movw %0,%%gs" : : "rm" ((unsigned short)sel)); }