further locking fixes
[util-vserver.git] / util-vserver / src / compat-pivot_root.h
index 9fcdba2..5ecff85 100644 (file)
@@ -21,9 +21,9 @@
 
 #include <sys/syscall.h>
 #include <unistd.h>
-#include <linux/unistd.h>
+#include <asm/unistd.h>
 #include <errno.h>
 
-_syscall2(int,pivot_root,const char *,new_root,const char *,put_old)
+inline static _syscall2(int,pivot_root,const char *,new_root,const char *,put_old)
 
 #endif //  H_UTIL_VSERVER_SRC_COMPAT_PIVOT_ROOT_H