Commit dc58fccd authored by Pavel Emelyanov's avatar Pavel Emelyanov

Add missing headers for ppc64, arm and aarch

While tossing headers around non-x86 builds got broken
so move back missing parts for other arches. Other than
criu/arch/ stuff this is mostly int.h over .c files.

travis-ci: success for criu: Remove asm/ includes from non-arch sources
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 6d972947
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
#include "log.h" #include "log.h"
#include "util.h" #include "util.h"
#include "cpu.h" #include "cpu.h"
#include "parasite-syscall.h"
#include "restorer.h" #include "restorer.h"
......
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
#include "protobuf.h" #include "protobuf.h"
#include "images/core.pb-c.h" #include "images/core.pb-c.h"
#include "images/creds.pb-c.h" #include "images/creds.pb-c.h"
#include "parasite-syscall.h"
#include "log.h" #include "log.h"
#include "util.h" #include "util.h"
#include "cpu.h" #include "cpu.h"
......
#ifndef __CR_ASM_PARASITE_SYSCALL_H__ #ifndef __CR_ASM_PARASITE_SYSCALL_H__
#define __CR_ASM_PARASITE_SYSCALL_H__ #define __CR_ASM_PARASITE_SYSCALL_H__
struct parasite_ctl;
#define ARCH_SI_TRAP TRAP_BRKPT #define ARCH_SI_TRAP TRAP_BRKPT
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
#include <asm/ptrace.h> #include <asm/ptrace.h>
#include <asm/elf.h> #include <asm/elf.h>
#include <asm/types.h> #include <asm/types.h>
#include "asm/types.h"
/* /*
* sigcontext structure defined in file * sigcontext structure defined in file
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
#include <sys/mount.h> #include <sys/mount.h>
#include <sys/wait.h> #include <sys/wait.h>
#include "int.h"
#include "fdinfo.h" #include "fdinfo.h"
#include "autofs.h" #include "autofs.h"
#include "rst-malloc.h" #include "rst-malloc.h"
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
#include <linux/falloc.h> #include <linux/falloc.h>
#include <unistd.h> #include <unistd.h>
#include "int.h"
#include "crtools.h" #include "crtools.h"
#include "pagemap.h" #include "pagemap.h"
#include "restorer.h" #include "restorer.h"
......
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
#include <dlfcn.h> #include <dlfcn.h>
#include "int.h" #include "int.h"
#include "page.h"
#include "compiler.h" #include "compiler.h"
#include "crtools.h" #include "crtools.h"
#include "cr_options.h" #include "cr_options.h"
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
#include <errno.h> #include <errno.h>
#include <sys/syscall.h> #include <sys/syscall.h>
#include "int.h"
#include "log.h" #include "log.h"
#include "restorer.h" #include "restorer.h"
#include "kerndat.h" #include "kerndat.h"
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
#include <ctype.h> #include <ctype.h>
#include <linux/fs.h> #include <linux/fs.h>
#include "int.h" #include "types.h"
#include "common/list.h" #include "common/list.h"
#include "util.h" #include "util.h"
#include "mount.h" #include "mount.h"
......
#include <unistd.h> #include <unistd.h>
#include <fcntl.h> #include <fcntl.h>
#include <sys/time.h> #include <sys/time.h>
#include "int.h"
#include "atomic.h" #include "atomic.h"
#include "rst-malloc.h" #include "rst-malloc.h"
#include "protobuf.h" #include "protobuf.h"
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
#include <sys/wait.h> #include <sys/wait.h>
#include <sched.h> #include <sched.h>
#include "int.h"
#include "namespaces.h" #include "namespaces.h"
#include "sysctl.h" #include "sysctl.h"
#include "util.h" #include "util.h"
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
#include <dirent.h> #include <dirent.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "int.h"
#include "cr_options.h" #include "cr_options.h"
#include "criu-log.h" #include "criu-log.h"
#include "xmalloc.h" #include "xmalloc.h"
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/mman.h> #include <sys/mman.h>
#include "types.h"
#include "parasite-syscall.h" #include "parasite-syscall.h"
#include "parasite.h" #include "parasite.h"
#include "compiler.h" #include "compiler.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