[PATCH 1/1] define stub32_checkpoint etc

Serge E. Hallyn serue at us.ibm.com
Wed Jan 20 11:43:53 PST 2010


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 <serue at us.ibm.com>
---
 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



More information about the Containers mailing list