Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
criu
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhul
criu
Commits
d82b621f
Commit
d82b621f
authored
Oct 28, 2016
by
Cyrill Gorcunov
Committed by
Pavel Emelyanov
Feb 06, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
headers: Move lock.h into include/common/
Signed-off-by:
Cyrill Gorcunov
<
gorcunov@openvz.org
>
parent
c0695672
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
16 additions
and
18 deletions
+16
-18
cr-restore.c
criu/cr-restore.c
+1
-1
files.c
criu/files.c
+1
-1
fsnotify.c
criu/fsnotify.c
+1
-1
files.h
criu/include/files.h
+1
-1
parasite.h
criu/include/parasite.h
+1
-1
restorer.h
criu/include/restorer.h
+1
-1
rst_info.h
criu/include/rst_info.h
+1
-1
shmem.h
criu/include/shmem.h
+1
-1
log.c
criu/log.c
+1
-1
parasite.c
criu/pie/parasite.c
+1
-1
restorer.c
criu/pie/restorer.c
+1
-1
pstree.c
criu/pstree.c
+1
-1
lock.h
include/common/lock.h
+4
-6
No files found.
criu/cr-restore.c
View file @
d82b621f
...
...
@@ -36,7 +36,7 @@
#include "restorer.h"
#include "sockets.h"
#include "sk-packet.h"
#include "lock.h"
#include "
common/
lock.h"
#include "files.h"
#include "files-reg.h"
#include "pipes.h"
...
...
criu/files.c
View file @
d82b621f
...
...
@@ -22,7 +22,7 @@
#include "common/list.h"
#include "rst-malloc.h"
#include "util-pie.h"
#include "lock.h"
#include "
common/
lock.h"
#include "sockets.h"
#include "pstree.h"
#include "tty.h"
...
...
criu/fsnotify.c
View file @
d82b621f
...
...
@@ -35,7 +35,7 @@
#include "file-ids.h"
#include "criu-log.h"
#include "common/list.h"
#include "lock.h"
#include "
common/
lock.h"
#include "irmap.h"
#include "cr_options.h"
#include "namespaces.h"
...
...
criu/include/files.h
View file @
d82b621f
...
...
@@ -6,7 +6,7 @@
#include "int.h"
#include "common/compiler.h"
#include "fcntl.h"
#include "lock.h"
#include "
common/
lock.h"
#include "common/list.h"
#include "pid.h"
#include "rst_info.h"
...
...
criu/include/parasite.h
View file @
d82b621f
...
...
@@ -16,7 +16,7 @@
#include "image.h"
#include "util-pie.h"
#include "lock.h"
#include "
common/
lock.h"
#include "images/vma.pb-c.h"
#include "images/tty.pb-c.h"
...
...
criu/include/restorer.h
View file @
d82b621f
...
...
@@ -10,7 +10,7 @@
#include "types.h"
#include "common/compiler.h"
#include "asm/fpu.h"
#include "lock.h"
#include "
common/
lock.h"
#include "util.h"
#include "asm/restorer.h"
#include "config.h"
...
...
criu/include/rst_info.h
View file @
d82b621f
#ifndef __CR_RST_INFO_H__
#define __CR_RST_INFO_H__
#include "lock.h"
#include "
common/
lock.h"
#include "common/list.h"
#include "vma.h"
...
...
criu/include/shmem.h
View file @
d82b621f
...
...
@@ -2,7 +2,7 @@
#define __CR_SHMEM_H__
#include "int.h"
#include "lock.h"
#include "
common/
lock.h"
#include "images/vma.pb-c.h"
struct
_VmaEntry
;
...
...
criu/log.c
View file @
d82b621f
...
...
@@ -18,7 +18,7 @@
#include "cr_options.h"
#include "servicefd.h"
#include "rst-malloc.h"
#include "lock.h"
#include "
common/
lock.h"
#include "string.h"
#define DEFAULT_LOGFD STDERR_FILENO
...
...
criu/pie/parasite.c
View file @
d82b621f
...
...
@@ -14,7 +14,7 @@
#include "config.h"
#include "fcntl.h"
#include "prctl.h"
#include "lock.h"
#include "
common/
lock.h"
#include "parasite-vdso.h"
#include "criu-log.h"
#include "tty.h"
...
...
criu/pie/restorer.c
View file @
d82b621f
...
...
@@ -31,7 +31,7 @@
#include "sk-inet.h"
#include "vma.h"
#include "lock.h"
#include "
common/
lock.h"
#include "restorer.h"
#include "aio.h"
#include "seccomp.h"
...
...
criu/pstree.c
View file @
d82b621f
...
...
@@ -7,7 +7,7 @@
#include "cr_options.h"
#include "pstree.h"
#include "rst-malloc.h"
#include "lock.h"
#include "
common/
lock.h"
#include "namespaces.h"
#include "files.h"
#include "tty.h"
...
...
criu/include
/lock.h
→
include/common
/lock.h
View file @
d82b621f
#ifndef __CR_LOCK_H__
#define __CR_LOCK_H__
#ifndef __CR_
COMMON_
LOCK_H__
#define __CR_
COMMON_
LOCK_H__
#include <stdint.h>
#include <linux/futex.h>
#include <sys/time.h>
#include <limits.h>
#include <errno.h>
#include "atomic.h"
#include "log.h"
#include "common/asm/atomic.h"
#define LOCK_BUG_ON(condition) \
if ((condition)) \
...
...
@@ -156,4 +154,4 @@ static inline void mutex_unlock(mutex_t *m)
LOCK_BUG_ON
(
sys_futex
((
uint32_t
*
)
&
m
->
raw
.
counter
,
FUTEX_WAKE
,
1
,
NULL
,
NULL
,
0
)
<
0
);
}
#endif
/* __CR_LOCK_H__ */
#endif
/* __CR_
COMMON_
LOCK_H__ */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment