Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-8]: src/sys/compat/netbsd32 Pull up following revision(s) (reques...



details:   https://anonhg.NetBSD.org/src/rev/a4f58b6d93ba
branches:  netbsd-8
changeset: 446984:a4f58b6d93ba
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Dec 27 12:04:09 2018 +0000

description:
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.

diffstat:

 sys/compat/netbsd32/netbsd32_netbsd.c |  11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diffs (32 lines):

diff -r a1481589d7fa -r a4f58b6d93ba sys/compat/netbsd32/netbsd32_netbsd.c
--- a/sys/compat/netbsd32/netbsd32_netbsd.c     Wed Dec 26 13:19:54 2018 +0000
+++ b/sys/compat/netbsd32/netbsd32_netbsd.c     Thu Dec 27 12:04:09 2018 +0000
@@ -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 @@
        /* {
                syscallarg(netbsd32_psetidp_t) psid;
        }; */
-
-       return sys_pset_create(l, (const void *)uap, retval);
+       struct sys_pset_create_args ua;
+
+       NETBSD32TOP_UAP(psid, psetid_t);
+
+       return sys_pset_create(l, &ua, retval);
 }
 
 int



Home | Main Index | Thread Index | Old Index