Commit 9e2c8fae authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

common: Move compiler.h into

travis-ci: success for Common headers
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent a56f0cf1
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
#include "asm/types.h" #include "asm/types.h"
#include "asm/restorer.h" #include "asm/restorer.h"
#include "compiler.h" #include "common/compiler.h"
#include "ptrace.h" #include "ptrace.h"
#include "asm/processor-flags.h" #include "asm/processor-flags.h"
#include "protobuf.h" #include "protobuf.h"
......
#ifndef __CR_ASM_BITOPS_H__ #ifndef __CR_ASM_BITOPS_H__
#define __CR_ASM_BITOPS_H__ #define __CR_ASM_BITOPS_H__
#include "compiler.h" #include "common/compiler.h"
#include "asm-generic/bitops.h" #include "asm-generic/bitops.h"
#endif /* __CR_ASM_BITOPS_H__ */ #endif /* __CR_ASM_BITOPS_H__ */
#ifndef __CR_ASM_STRING_H__ #ifndef __CR_ASM_STRING_H__
#define __CR_ASM_STRING_H__ #define __CR_ASM_STRING_H__
#include "compiler.h" #include "common/compiler.h"
#include "asm-generic/string.h" #include "asm-generic/string.h"
#endif /* __CR_ASM_STRING_H__ */ #endif /* __CR_ASM_STRING_H__ */
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
#include "asm/types.h" #include "asm/types.h"
#include "asm/restorer.h" #include "asm/restorer.h"
#include "compiler.h" #include "common/compiler.h"
#include "ptrace.h" #include "ptrace.h"
#include "asm/processor-flags.h" #include "asm/processor-flags.h"
#include "protobuf.h" #include "protobuf.h"
......
#ifndef __CR_ASM_BITOPS_H__ #ifndef __CR_ASM_BITOPS_H__
#define __CR_ASM_BITOPS_H__ #define __CR_ASM_BITOPS_H__
#include "compiler.h" #include "common/compiler.h"
#include "asm-generic/bitops.h" #include "asm-generic/bitops.h"
#endif /* __CR_ASM_BITOPS_H__ */ #endif /* __CR_ASM_BITOPS_H__ */
#ifndef __CR_ASM_STRING_H__ #ifndef __CR_ASM_STRING_H__
#define __CR_ASM_STRING_H__ #define __CR_ASM_STRING_H__
#include "compiler.h" #include "common/compiler.h"
#include "asm-generic/string.h" #include "asm-generic/string.h"
#endif /* __CR_ASM_STRING_H__ */ #endif /* __CR_ASM_STRING_H__ */
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
#include "asm/restorer.h" #include "asm/restorer.h"
#include "cr_options.h" #include "cr_options.h"
#include "compiler.h" #include "common/compiler.h"
#include "ptrace.h" #include "ptrace.h"
#include "parasite-syscall.h" #include "parasite-syscall.h"
#include "log.h" #include "log.h"
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
* Copied from the kernel file arch/powerpc/include/asm/bitops.h * Copied from the kernel file arch/powerpc/include/asm/bitops.h
*/ */
#include "compiler.h" #include "common/compiler.h"
#include "asm/bitsperlong.h" #include "asm/bitsperlong.h"
......
#ifndef __CR_ASM_STRING_H__ #ifndef __CR_ASM_STRING_H__
#define __CR_ASM_STRING_H__ #define __CR_ASM_STRING_H__
#include "compiler.h" #include "common/compiler.h"
#define HAS_BUILTIN_MEMCPY #define HAS_BUILTIN_MEMCPY
#define HAS_BUILTIN_MEMCMP #define HAS_BUILTIN_MEMCMP
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
#include "asm/cpu.h" #include "asm/cpu.h"
#include "asm/fpu.h" #include "asm/fpu.h"
#include "compiler.h" #include "common/compiler.h"
#include "cr_options.h" #include "cr_options.h"
#include "image.h" #include "image.h"
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
#include "asm/fpu.h" #include "asm/fpu.h"
#include "cr_options.h" #include "cr_options.h"
#include "compiler.h" #include "common/compiler.h"
#include "restorer.h" #include "restorer.h"
#include "ptrace.h" #include "ptrace.h"
#include "parasite-syscall.h" #include "parasite-syscall.h"
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
#include <sys/types.h> #include <sys/types.h>
#include <stdbool.h> #include <stdbool.h>
#include "compiler.h" #include "common/compiler.h"
#include "asm/int.h" #include "asm/int.h"
#define FP_MIN_ALIGN_BYTES 64 #define FP_MIN_ALIGN_BYTES 64
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
#define HAS_BUILTIN_MEMCPY #define HAS_BUILTIN_MEMCPY
#include "compiler.h" #include "common/compiler.h"
#include "asm-generic/string.h" #include "asm-generic/string.h"
#ifdef CR_NOGLIBC #ifdef CR_NOGLIBC
......
...@@ -8,7 +8,8 @@ ...@@ -8,7 +8,8 @@
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "compiler.h" #include "int.h"
#include "common/compiler.h"
#include "cgroup-props.h" #include "cgroup-props.h"
#include "cr_options.h" #include "cr_options.h"
#include "config.h" #include "config.h"
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
#include "imgset.h" #include "imgset.h"
#include "file-ids.h" #include "file-ids.h"
#include "kcmp-ids.h" #include "kcmp-ids.h"
#include "compiler.h" #include "common/compiler.h"
#include "crtools.h" #include "crtools.h"
#include "cr_options.h" #include "cr_options.h"
#include "servicefd.h" #include "servicefd.h"
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#include "types.h" #include "types.h"
#include "ptrace.h" #include "ptrace.h"
#include "compiler.h" #include "common/compiler.h"
#include "cr_options.h" #include "cr_options.h"
#include "servicefd.h" #include "servicefd.h"
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include "int.h" #include "int.h"
#include "page.h" #include "page.h"
#include "compiler.h" #include "common/compiler.h"
#include "crtools.h" #include "crtools.h"
#include "cr_options.h" #include "cr_options.h"
#include "external.h" #include "external.h"
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include <sys/eventfd.h> #include <sys/eventfd.h>
#include "compiler.h" #include "common/compiler.h"
#include "imgset.h" #include "imgset.h"
#include "eventfd.h" #include "eventfd.h"
#include "fdinfo.h" #include "fdinfo.h"
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
#include <sys/epoll.h> #include <sys/epoll.h>
#include "crtools.h" #include "crtools.h"
#include "compiler.h" #include "common/compiler.h"
#include "imgset.h" #include "imgset.h"
#include "rst_info.h" #include "rst_info.h"
#include "eventpoll.h" #include "eventpoll.h"
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
#include "file-ids.h" #include "file-ids.h"
#include "rbtree.h" #include "rbtree.h"
#include "kcmp-ids.h" #include "kcmp-ids.h"
#include "compiler.h" #include "common/compiler.h"
#include "image.h" #include "image.h"
#include "util.h" #include "util.h"
#include "irmap.h" #include "irmap.h"
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
#include <sys/mount.h> #include <sys/mount.h>
#include "int.h" #include "int.h"
#include "compiler.h" #include "common/compiler.h"
#include "xmalloc.h" #include "xmalloc.h"
#include "cr_options.h" #include "cr_options.h"
#include "filesystems.h" #include "filesystems.h"
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include <sys/fanotify.h> #include <sys/fanotify.h>
#include "compiler.h" #include "common/compiler.h"
#include "imgset.h" #include "imgset.h"
#include "fsnotify.h" #include "fsnotify.h"
#include "fdinfo.h" #include "fdinfo.h"
......
#ifndef __CR_ASM_GENERIC_STRING_H__ #ifndef __CR_ASM_GENERIC_STRING_H__
#define __CR_ASM_GENERIC_STRING_H__ #define __CR_ASM_GENERIC_STRING_H__
#include "compiler.h" #include "common/compiler.h"
#ifndef HAS_BUILTIN_MEMCPY #ifndef HAS_BUILTIN_MEMCPY
static always_inline void *builtin_memcpy(void *to, const void *from, unsigned int n) static always_inline void *builtin_memcpy(void *to, const void *from, unsigned int n)
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
#include <signal.h> #include <signal.h>
#include <stdbool.h> #include <stdbool.h>
#include "compiler.h" #include "common/compiler.h"
#include "log.h" #include "log.h"
#ifndef BUG_ON_HANDLER #ifndef BUG_ON_HANDLER
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
#ifndef __CR_ERR_H__ #ifndef __CR_ERR_H__
#define __CR_ERR_H__ #define __CR_ERR_H__
#include "compiler.h" #include "common/compiler.h"
/* /*
* The address of a block returned by malloc or realloc in GNU * The address of a block returned by malloc or realloc in GNU
......
#ifndef __CR_FILE_IDS_H__ #ifndef __CR_FILE_IDS_H__
#define __CR_FILE_IDS_H__ #define __CR_FILE_IDS_H__
#include "compiler.h" #include "common/compiler.h"
#include "rbtree.h" #include "rbtree.h"
#include "images/fdinfo.pb-c.h" #include "images/fdinfo.pb-c.h"
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
#include <sys/stat.h> #include <sys/stat.h>
#include "int.h" #include "int.h"
#include "compiler.h" #include "common/compiler.h"
#include "fcntl.h" #include "fcntl.h"
#include "lock.h" #include "lock.h"
#include "common/list.h" #include "common/list.h"
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
#include <stdbool.h> #include <stdbool.h>
#include "compiler.h" #include "common/compiler.h"
#include "servicefd.h" #include "servicefd.h"
#include "image-desc.h" #include "image-desc.h"
#include "fcntl.h" #include "fcntl.h"
......
#ifndef __CR_NS_H__ #ifndef __CR_NS_H__
#define __CR_NS_H__ #define __CR_NS_H__
#include "compiler.h" #include "common/compiler.h"
#include "files.h" #include "files.h"
#include "common/list.h" #include "common/list.h"
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
#define __CR_PLUGIN_H__ #define __CR_PLUGIN_H__
#include "criu-plugin.h" #include "criu-plugin.h"
#include "compiler.h" #include "common/compiler.h"
#include "common/list.h" #include "common/list.h"
#define CR_PLUGIN_DEFAULT "/var/lib/criu/" #define CR_PLUGIN_DEFAULT "/var/lib/criu/"
......
...@@ -4,7 +4,8 @@ ...@@ -4,7 +4,8 @@
#include <stdbool.h> #include <stdbool.h>
#include "protobuf-desc.h" #include "protobuf-desc.h"
#include "compiler.h" #include "common/compiler.h"
#include "util.h"
struct cr_img; struct cr_img;
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#include <stddef.h> #include <stddef.h>
#include "compiler.h" #include "common/compiler.h"
#define RB_RED 0 #define RB_RED 0
#define RB_BLACK 1 #define RB_BLACK 1
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#include "int.h" #include "int.h"
#include "types.h" #include "types.h"
#include "compiler.h" #include "common/compiler.h"
#include "asm/fpu.h" #include "asm/fpu.h"
#include "lock.h" #include "lock.h"
#include "util.h" #include "util.h"
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
#include <dirent.h> #include <dirent.h>
#include "int.h" #include "int.h"
#include "compiler.h" #include "common/compiler.h"
#include "xmalloc.h" #include "xmalloc.h"
#include "bug.h" #include "bug.h"
#include "log.h" #include "log.h"
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
#include "kerndat.h" #include "kerndat.h"
#include "fs-magic.h" #include "fs-magic.h"
#include "mem.h" #include "mem.h"
#include "compiler.h" #include "common/compiler.h"
#include "sysctl.h" #include "sysctl.h"
#include "cr_options.h" #include "cr_options.h"
#include "util.h" #include "util.h"
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
#include <fcntl.h> #include <fcntl.h>
#include "page.h" #include "page.h"
#include "compiler.h" #include "common/compiler.h"
#include "util.h" #include "util.h"
#include "cr_options.h" #include "cr_options.h"
#include "servicefd.h" #include "servicefd.h"
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
#include "page.h" #include "page.h"
#include "pagemap-cache.h" #include "pagemap-cache.h"
#include "compiler.h" #include "common/compiler.h"
#include "xmalloc.h" #include "xmalloc.h"
#include "util.h" #include "util.h"
#include "log.h" #include "log.h"
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
#include "asm-generic/int.h" #include "asm-generic/int.h"
#include "compiler.h" #include "common/compiler.h"
#include "piegen/uapi/types.h" #include "piegen/uapi/types.h"
#include "bug.h" #include "bug.h"
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
#include "piegen/uapi/types.h" #include "piegen/uapi/types.h"
#include "compiler.h" #include "common/compiler.h"
#include "config.h" #include "config.h"
#ifdef CONFIG_PIEGEN #ifdef CONFIG_PIEGEN
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
#include "asm-generic/int.h" #include "asm-generic/int.h"
#include "compiler.h" #include "common/compiler.h"
#include "piegen.h" #include "piegen.h"
static bool __ptr_oob(const void *ptr, const void *start, const size_t size) static bool __ptr_oob(const void *ptr, const void *start, const size_t size)
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/mman.h> #include <sys/mman.h>
#include "compiler.h" #include "common/compiler.h"
#include "config.h" #include "config.h"
#include "piegen.h" #include "piegen.h"
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#include "int.h" #include "int.h"
#include "types.h" #include "types.h"
#include "compiler.h" #include "common/compiler.h"
#include "string.h" #include "string.h"
#include "syscall.h" #include "syscall.h"
#include "signal.h" #include "signal.h"
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
#include "int.h" #include "int.h"
#include "types.h" #include "types.h"
#include "compiler.h" #include "common/compiler.h"
#include "log.h" #include "log.h"
#include "string.h" #include "string.h"
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#include "int.h" #include "int.h"
#include "types.h" #include "types.h"
#include "compiler.h" #include "common/compiler.h"
#include "fcntl.h" #include "fcntl.h"
#include "log.h" #include "log.h"
#include "util-pie.h" #include "util-pie.h"
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#include <dlfcn.h> #include <dlfcn.h>
#include "cr_options.h" #include "cr_options.h"
#include "compiler.h" #include "common/compiler.h"
#include "xmalloc.h" #include "xmalloc.h"
#include "plugin.h" #include "plugin.h"
#include "common/list.h" #include "common/list.h"
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#include <arpa/inet.h> #include <arpa/inet.h>
#include <ctype.h> #include <ctype.h>
#include "compiler.h" #include "common/compiler.h"
#include "log.h" #include "log.h"
#include "protobuf-desc.h" #include "protobuf-desc.h"
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
#include "image.h" #include "image.h"
#include "servicefd.h" #include "servicefd.h"
#include "compiler.h" #include "common/compiler.h"
#include "log.h" #include "log.h"
#include "rst-malloc.h" #include "rst-malloc.h"
#include "string.h" #include "string.h"
......
...@@ -14,7 +14,8 @@ ...@@ -14,7 +14,8 @@
#include <sys/resource.h> #include <sys/resource.h>
#include <sys/wait.h> #include <sys/wait.h>
#include "compiler.h" #include "int.h"
#include "common/compiler.h"
#include "util.h" #include "util.h"
#include "ptrace.h" #include "ptrace.h"
#include "pid.h" #include "pid.h"
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
#include <time.h> #include <time.h>
#include "int.h" #include "int.h"
#include "compiler.h" #include "common/compiler.h"
#include "cr_options.h" #include "cr_options.h"
#include "cr-errno.h" #include "cr-errno.h"
#include "pstree.h" #include "pstree.h"
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
#include <signal.h> #include <signal.h>
#include <sys/signalfd.h> #include <sys/signalfd.h>
#include "compiler.h" #include "common/compiler.h"
#include "signalfd.h" #include "signalfd.h"
#include "fdinfo.h" #include "fdinfo.h"
#include "imgset.h" #include "imgset.h"
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
#include <linux/major.h> #include <linux/major.h>
#include "types.h" #include "types.h"
#include "compiler.h" #include "common/compiler.h"
#include "crtools.h" #include "crtools.h"
#include "files.h" #include "files.h"
#include "cr_options.h" #include "cr_options.h"
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
#include "bitops.h" #include "bitops.h"
#include "page.h" #include "page.h"
#include "compiler.h" #include "common/compiler.h"
#include "common/list.h" #include "common/list.h"
#include "util.h" #include "util.h"
#include "rst-malloc.h" #include "rst-malloc.h"
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#include "types.h" #include "types.h"
#include "parasite-syscall.h" #include "parasite-syscall.h"
#include "parasite.h" #include "parasite.h"
#include "compiler.h" #include "common/compiler.h"
#include "kerndat.h" #include "kerndat.h"
#include "vdso.h" #include "vdso.h"
#include "util.h" #include "util.h"
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
*/ */
#include <stddef.h> #include <stddef.h>
#include "compiler.h" #include "common/compiler.h"
#define POISON_POINTER_DELTA 0 #define POISON_POINTER_DELTA 0
#define LIST_POISON1 ((void *) 0x00100100 + POISON_POINTER_DELTA) #define LIST_POISON1 ((void *) 0x00100100 + POISON_POINTER_DELTA)
......
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