Module Name: src Committed By: martin Date: Thu Dec 27 12:04:09 UTC 2018
Modified Files: src/sys/compat/netbsd32 [netbsd-8]: netbsd32_netbsd.c Log Message: Pull up following revision(s) (requested by mrg in ticket #1146): sys/compat/netbsd32/netbsd32_netbsd.c: revision 1.219 pset_create() takes a pointer so it needs special handling. To generate a diff of this commit: cvs rdiff -u -r1.206.2.1 -r1.206.2.2 \ src/sys/compat/netbsd32/netbsd32_netbsd.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/netbsd32/netbsd32_netbsd.c diff -u src/sys/compat/netbsd32/netbsd32_netbsd.c:1.206.2.1 src/sys/compat/netbsd32/netbsd32_netbsd.c:1.206.2.2 --- src/sys/compat/netbsd32/netbsd32_netbsd.c:1.206.2.1 Tue Dec 25 11:19:52 2018 +++ src/sys/compat/netbsd32/netbsd32_netbsd.c Thu Dec 27 12:04:09 2018 @@ -1,4 +1,4 @@ -/* $NetBSD: netbsd32_netbsd.c,v 1.206.2.1 2018/12/25 11:19:52 martin Exp $ */ +/* $NetBSD: netbsd32_netbsd.c,v 1.206.2.2 2018/12/27 12:04:09 martin Exp $ */ /* * Copyright (c) 1998, 2001, 2008 Matthew R. Green @@ -27,7 +27,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: netbsd32_netbsd.c,v 1.206.2.1 2018/12/25 11:19:52 martin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: netbsd32_netbsd.c,v 1.206.2.2 2018/12/27 12:04:09 martin Exp $"); #if defined(_KERNEL_OPT) #include "opt_ddb.h" @@ -2837,8 +2837,11 @@ netbsd32_pset_create(struct lwp *l, /* { syscallarg(netbsd32_psetidp_t) psid; }; */ + struct sys_pset_create_args ua; - return sys_pset_create(l, (const void *)uap, retval); + NETBSD32TOP_UAP(psid, psetid_t); + + return sys_pset_create(l, &ua, retval); } int