[CRIU] [PATCH 05/22] parasite-syscall.c: moved the routine syscall_seized() into the file arch/x86/crtools.c

Pavel Emelyanov xemul at parallels.com
Fri Dec 28 03:47:19 EST 2012


On 12/27/2012 10:50 AM, Alexander Kartashov wrote:
> 
> Signed-off-by: Alexander Kartashov <alekskartashov at parallels.com>
> ---
>  arch/x86/crtools.c |   30 ++++++++++++++++++++++++++++++
>  parasite-syscall.c |   30 +-----------------------------
>  2 files changed, 31 insertions(+), 29 deletions(-)
> 
> diff --git a/arch/x86/crtools.c b/arch/x86/crtools.c
> index cb72a23..07615a8 100644
> --- a/arch/x86/crtools.c
> +++ b/arch/x86/crtools.c
> @@ -15,6 +15,8 @@
>  #include "fpu.h"
>  #include "elf.h"
>  
> +extern int __parasite_execute(struct parasite_ctl *ctl, pid_t pid, user_regs_struct_t *regs);

All extern declarations should be in some header file.

> +
>  void parasite_setup_regs(unsigned long new_ip, user_regs_struct_t *regs)
>  {


More information about the CRIU mailing list