Author: jkim
Date: Mon Apr 16 23:16:18 2012
New Revision: 234359
URL: http://svn.freebsd.org/changeset/base/234359

Log:
  Correct an argument type of iopl syscall for Linuxulator.  This also fixes
  a warning from Clang, i. e., "args->level < 0 is always false".

Modified:
  head/sys/amd64/linux32/syscalls.master
  head/sys/i386/linux/syscalls.master

Modified: head/sys/amd64/linux32/syscalls.master
==============================================================================
--- head/sys/amd64/linux32/syscalls.master      Mon Apr 16 22:59:51 2012        
(r234358)
+++ head/sys/amd64/linux32/syscalls.master      Mon Apr 16 23:16:18 2012        
(r234359)
@@ -202,7 +202,7 @@
                                    struct l_newstat *buf); }
 ; 109: olduname
 109    AUE_NULL        STD     { int linux_uname(void); }
-110    AUE_NULL        STD     { int linux_iopl(l_ulong level); }
+110    AUE_NULL        STD     { int linux_iopl(l_int level); }
 111    AUE_NULL        STD     { int linux_vhangup(void); }
 112    AUE_NULL        UNIMPL  idle
 113    AUE_NULL        UNIMPL  vm86old

Modified: head/sys/i386/linux/syscalls.master
==============================================================================
--- head/sys/i386/linux/syscalls.master Mon Apr 16 22:59:51 2012        
(r234358)
+++ head/sys/i386/linux/syscalls.master Mon Apr 16 23:16:18 2012        
(r234359)
@@ -203,7 +203,7 @@
                                    struct l_newstat *buf); }
 ; 109: olduname
 109    AUE_NULL        STD     { int linux_uname(void); }
-110    AUE_NULL        STD     { int linux_iopl(l_ulong level); }
+110    AUE_NULL        STD     { int linux_iopl(l_int level); }
 111    AUE_NULL        STD     { int linux_vhangup(void); }
 112    AUE_NULL        UNIMPL  idle
 113    AUE_NULL        STD     { int linux_vm86old(void); }
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to