Commit f8ddc742 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

headers: Move kcmp_type to kcmp.h

It's arch independent data.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 3f3439cd
......@@ -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
......
#ifndef __CR_KCMP_IDS_H__
#define __CR_KCMP_IDS_H__
#include "kcmp.h"
struct kid_tree {
struct rb_root root;
unsigned kcmp_type;
......
#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__ */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment