Source-Changes-HG archive

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

[src/trunk]: src/sys/rump/librump/rumpkern Use sy_invoke() instead of sy_call...



details:   https://anonhg.NetBSD.org/src/rev/f8f941ed0f08
branches:  trunk
changeset: 325156:f8f941ed0f08
user:      pooka <pooka%NetBSD.org@localhost>
date:      Mon Dec 09 16:23:10 2013 +0000

description:
Use sy_invoke() instead of sy_call() directly.

diffstat:

 sys/rump/librump/rumpkern/rump.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r cb0b18ff74e0 -r f8f941ed0f08 sys/rump/librump/rumpkern/rump.c
--- a/sys/rump/librump/rumpkern/rump.c  Mon Dec 09 16:21:15 2013 +0000
+++ b/sys/rump/librump/rumpkern/rump.c  Mon Dec 09 16:23:10 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rump.c,v 1.276 2013/11/18 18:45:29 njoly Exp $ */
+/*     $NetBSD: rump.c,v 1.277 2013/12/09 16:23:10 pooka Exp $ */
 
 /*
  * Copyright (c) 2007-2011 Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.276 2013/11/18 18:45:29 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.277 2013/12/09 16:23:10 pooka Exp $");
 
 #include <sys/systm.h>
 #define ELFSIZE ARCH_ELFSIZE
@@ -834,7 +834,7 @@
 
        callp = rump_sysent + num;
        l = curlwp;
-       rv = sy_call(callp, l, (void *)arg, regrv);
+       rv = sy_invoke(callp, l, (void *)arg, regrv, num);
        retval[0] = regrv[0];
        retval[1] = regrv[1];
 
@@ -1021,7 +1021,7 @@
 #endif
        callp = e->e_sysent + num;
 
-       rv = sy_call(callp, curlwp, data, retval);
+       rv = sy_invoke(callp, curlwp, data, retval, num);
        rump_unschedule();
 
        return rv;



Home | Main Index | Thread Index | Old Index