mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
headers: Move kcmp_type to kcmp.h
It's arch independent data. Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
3f3439cd42
commit
f8ddc74283
4 changed files with 18 additions and 26 deletions
|
|
@ -139,19 +139,6 @@ struct user_vfp_exc {
|
|||
# define PAGE_MASK (~(PAGE_SIZE - 1))
|
||||
#endif
|
||||
|
||||
/* For sys_kcmp */
|
||||
enum kcmp_type {
|
||||
KCMP_FILE,
|
||||
KCMP_VM,
|
||||
KCMP_FILES,
|
||||
KCMP_FS,
|
||||
KCMP_SIGHAND,
|
||||
KCMP_IO,
|
||||
KCMP_SYSVSEM,
|
||||
|
||||
KCMP_TYPES,
|
||||
};
|
||||
|
||||
#ifndef MAP_HUGETLB
|
||||
# define MAP_HUGETLB 0x40000
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -163,19 +163,6 @@ typedef struct {
|
|||
# define PAGE_MASK (~(PAGE_SIZE - 1))
|
||||
#endif
|
||||
|
||||
/* For sys_kcmp */
|
||||
enum kcmp_type {
|
||||
KCMP_FILE,
|
||||
KCMP_VM,
|
||||
KCMP_FILES,
|
||||
KCMP_FS,
|
||||
KCMP_SIGHAND,
|
||||
KCMP_IO,
|
||||
KCMP_SYSVSEM,
|
||||
|
||||
KCMP_TYPES,
|
||||
};
|
||||
|
||||
#ifndef MAP_HUGETLB
|
||||
# define MAP_HUGETLB 0x40000
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -1,6 +1,8 @@
|
|||
#ifndef __CR_KCMP_IDS_H__
|
||||
#define __CR_KCMP_IDS_H__
|
||||
|
||||
#include "kcmp.h"
|
||||
|
||||
struct kid_tree {
|
||||
struct rb_root root;
|
||||
unsigned kcmp_type;
|
||||
|
|
|
|||
16
include/kcmp.h
Normal file
16
include/kcmp.h
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#ifndef __CR_KCMP_H__
|
||||
#define __CR_KCMP_H__
|
||||
|
||||
enum kcmp_type {
|
||||
KCMP_FILE,
|
||||
KCMP_VM,
|
||||
KCMP_FILES,
|
||||
KCMP_FS,
|
||||
KCMP_SIGHAND,
|
||||
KCMP_IO,
|
||||
KCMP_SYSVSEM,
|
||||
|
||||
KCMP_TYPES,
|
||||
};
|
||||
|
||||
#endif /* __CR_KCMP_H__ */
|
||||
Loading…
Add table
Add a link
Reference in a new issue