Commit 82cd9e2c authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov

parasite: don't include restorer.h in parasite-syscall.c

Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 924acd84
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
#include "posix-timer.h" #include "posix-timer.h"
#include "shmem.h" #include "shmem.h"
#include "sigframe.h"
#include "vdso.h" #include "vdso.h"
#include <time.h> #include <time.h>
...@@ -41,8 +42,6 @@ typedef long (*thread_restore_fcall_t) (struct thread_restore_args *args); ...@@ -41,8 +42,6 @@ typedef long (*thread_restore_fcall_t) (struct thread_restore_args *args);
*/ */
#define RESTORE_ARGS_SIZE (512) #define RESTORE_ARGS_SIZE (512)
#define RESTORE_STACK_REDZONE (128) #define RESTORE_STACK_REDZONE (128)
/* sigframe should be aligned on 64 byte for x86 and 8 bytes for arm */
#define RESTORE_STACK_SIGFRAME ALIGN(sizeof(struct rt_sigframe) + SIGFRAME_OFFSET, 64)
#define RESTORE_STACK_SIZE (KILO(32)) #define RESTORE_STACK_SIZE (KILO(32))
struct restore_mem_zone { struct restore_mem_zone {
......
...@@ -10,6 +10,9 @@ ...@@ -10,6 +10,9 @@
struct rt_sigframe; struct rt_sigframe;
/* sigframe should be aligned on 64 byte for x86 and 8 bytes for arm */
#define RESTORE_STACK_SIGFRAME ALIGN(sizeof(struct rt_sigframe) + SIGFRAME_OFFSET, 64)
#ifndef __ARCH_SI_PREAMBLE_SIZE #ifndef __ARCH_SI_PREAMBLE_SIZE
#define __ARCH_SI_PREAMBLE_SIZE (3 * sizeof(int)) #define __ARCH_SI_PREAMBLE_SIZE (3 * sizeof(int))
#endif #endif
......
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
#include "posix-timer.h" #include "posix-timer.h"
#include "net.h" #include "net.h"
#include "mem.h" #include "mem.h"
#include "restorer.h"
#include "proc_parse.h" #include "proc_parse.h"
#include <string.h> #include <string.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