added support for the new 'struct vcmd_set_sched_v3'
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Wed, 22 Sep 2004 20:45:37 +0000 (20:45 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Wed, 22 Sep 2004 20:45:37 +0000 (20:45 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1695 94cd875c-1c1d-0410-91d2-eb244daf1a30

util-vserver/lib/syscall_setsched.c

index 7149f49..94a6a9f 100644 (file)
@@ -23,6 +23,7 @@
 #include "vserver.h"
 #include "linuxvirtual.h"
 
+#define VC_MULTIVERSION_SYSCALL        1
 #include "vserver-internal.h"
 
 #ifdef VC_ENABLE_API_V13
@@ -32,5 +33,6 @@
 int
 vc_set_sched(xid_t xid, struct vc_set_sched const *data)
 {
-  CALL_VC(CALL_VC_V13(vc_set_sched,xid,data));
+  CALL_VC(CALL_VC_V13B  (vc_set_sched,xid,data),
+         CALL_VC_V13OBS(vc_set_sched,xid,data));
 }