From: Enrico Scholz Date: Tue, 14 Oct 2003 13:54:08 +0000 (+0000) Subject: added check for existing sys_virtual_context() function X-Git-Tag: version_0_23_96~40 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8867cd5be7d368e6538154958c3f82a230fef2f6;p=util-vserver.git added check for existing sys_virtual_context() function git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/branches/SYSCALL_SWITCH@138 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/lib/vserver-internal.h b/util-vserver/lib/vserver-internal.h index cac969e..a2555ea 100644 --- a/util-vserver/lib/vserver-internal.h +++ b/util-vserver/lib/vserver-internal.h @@ -46,8 +46,9 @@ vc_tell_unsafe_chroot() static ALWAYSINLINE UNUSED void vc_tell_unsafe_chroot() {} #endif +#ifndef HAVE_SYS_VIRTUAL_CONTEXT static _syscall3(int, sys_virtual_context, uint32_t, cmd, uint32_t, id, void *, data) - +#endif #endif // H_VSERVER_SYSCALL_INTERNAL_H