From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Serge E. Hallyn" Subject: [PATCH 1/1] define stub32_checkpoint etc Date: Wed, 20 Jan 2010 13:43:53 -0600 Message-ID: <20100120194353.GA16902@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Oren Laadan Cc: Linux Containers List-Id: containers.vger.kernel.org Don't get too excited this doesn't make checkpoint work on x86-64, but at least hooks the syscall :) My hope is to actually get it working by tomorrow. Signed-off-by: Serge E. Hallyn --- arch/x86/ia32/ia32entry.S | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/arch/x86/ia32/ia32entry.S b/arch/x86/ia32/ia32entry.S index 581b056..ac7eabd 100644 --- a/arch/x86/ia32/ia32entry.S +++ b/arch/x86/ia32/ia32entry.S @@ -477,6 +477,14 @@ quiet_ni_syscall: PTREGSCALL stub32_clone, sys32_clone, %rdx PTREGSCALL stub32_vfork, sys_vfork, %rdi PTREGSCALL stub32_iopl, sys_iopl, %rsi + PTREGSCALL stub32_eclone, sys_eclone, %rdx +#ifdef CONFIG_CHECKPOINT + PTREGSCALL stub32_checkpoint, sys_checkpoint, %rdx + PTREGSCALL stub32_restart, sys_restart, %rdx +#else + PTREGSCALL stub32_checkpoint, sys_ni_syscall, %rdx + PTREGSCALL stub32_restart, sys_ni_syscall, %rdx +#endif ENTRY(ia32_ptregs_common) popq %r11 @@ -841,4 +849,7 @@ ia32_sys_call_table: .quad compat_sys_pwritev .quad compat_sys_rt_tgsigqueueinfo /* 335 */ .quad sys_perf_event_open + .quad stub32_eclone + .quad stub32_checkpoint + .quad stub32_restart ia32_syscall_end: -- 1.6.0.6