mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
parasite: don't include restorer.h in parasite-syscall.c
Signed-off-by: Andrey Vagin <avagin@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
924acd8450
commit
82cd9e2c66
3 changed files with 4 additions and 3 deletions
|
|
@ -16,6 +16,7 @@
|
|||
|
||||
#include "posix-timer.h"
|
||||
#include "shmem.h"
|
||||
#include "sigframe.h"
|
||||
#include "vdso.h"
|
||||
|
||||
#include <time.h>
|
||||
|
|
@ -41,8 +42,6 @@ typedef long (*thread_restore_fcall_t) (struct thread_restore_args *args);
|
|||
*/
|
||||
#define RESTORE_ARGS_SIZE (512)
|
||||
#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))
|
||||
|
||||
struct restore_mem_zone {
|
||||
|
|
|
|||
|
|
@ -10,6 +10,9 @@
|
|||
|
||||
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
|
||||
#define __ARCH_SI_PREAMBLE_SIZE (3 * sizeof(int))
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@
|
|||
#include "posix-timer.h"
|
||||
#include "net.h"
|
||||
#include "mem.h"
|
||||
#include "restorer.h"
|
||||
#include "proc_parse.h"
|
||||
|
||||
#include <string.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue