git://git.onelab.eu
/
util-vserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ready for tagging
[util-vserver.git]
/
lib
/
syscall_setsched.c
diff --git
a/lib/syscall_setsched.c
b/lib/syscall_setsched.c
index
5884fc0
..
25246b3
100644
(file)
--- a/
lib/syscall_setsched.c
+++ b/
lib/syscall_setsched.c
@@
-1,4
+1,4
@@
-// $Id: syscall_setsched.c
,v 1.2 2004/09/22 20:45:37 ensc Exp
$ --*- c -*--
+// $Id: syscall_setsched.c
2578 2007-08-08 20:05:26Z dhozac
$ --*- c -*--
// Copyright (C) 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
//
// Copyright (C) 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
//
@@
-19,24
+19,34
@@
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
-#include "compat.h"
#include "vserver.h"
#include "vserver.h"
+#include "virtual.h"
#define VC_MULTIVERSION_SYSCALL 1
#include "vserver-internal.h"
#define VC_MULTIVERSION_SYSCALL 1
#include "vserver-internal.h"
-#include "linuxvirtual.h"
-
-#define VC_ENABLE_API_V13
-
#ifdef VC_ENABLE_API_V13
# include "syscall_setsched-v13.hc"
#endif
#ifdef VC_ENABLE_API_V13
# include "syscall_setsched-v13.hc"
#endif
+#ifdef VC_ENABLE_API_V13OBS
+# include "syscall_setsched-v13obs.hc"
+#endif
+
+#ifdef VC_ENABLE_API_V21
+# include "syscall_setsched-v21.hc"
+#endif
+
+#ifdef VC_ENABLE_API_V22
+# include "syscall_setsched-v22.hc"
+#endif
+
int
vc_set_sched(xid_t xid, struct vc_set_sched const *data)
{
int
vc_set_sched(xid_t xid, struct vc_set_sched const *data)
{
- CALL_VC(CALL_VC_V13B (vc_set_sched,xid,data),
+ CALL_VC(CALL_VC_V22 (vc_set_sched,xid,data),
+ CALL_VC_V21 (vc_set_sched,xid,data),
+ CALL_VC_V13B (vc_set_sched,xid,data),
CALL_VC_V13OBS(vc_set_sched,xid,data));
}
CALL_VC_V13OBS(vc_set_sched,xid,data));
}