* [PATCH 1/1] switch s390 sys_checkpoint as well
@ 2010-01-27 20:01 Serge E. Hallyn
[not found] ` <20100127200111.GA24277-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Serge E. Hallyn @ 2010-01-27 20:01 UTC (permalink / raw)
To: Oren Laadan; +Cc: Linux Containers
I thought I had sent this before and was surprised to not see it
in ckpt-v19-rc2.6, but actually it's not in my Sent folder so I
think I was remiss...
Signed-off-by: Serge E. Hallyn <serue-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
---
arch/s390/kernel/process.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/arch/s390/kernel/process.c b/arch/s390/kernel/process.c
index 087f52c..ef66fa3 100644
--- a/arch/s390/kernel/process.c
+++ b/arch/s390/kernel/process.c
@@ -242,7 +242,16 @@ SYSCALL_DEFINE4(clone, unsigned long, newsp, unsigned long, clone_flags,
}
#ifdef CONFIG_CHECKPOINT
+extern long do_sys_checkpoint(pid_t pid, int fd, unsigned long flags,
+ int logfd);
extern long do_sys_restart(pid_t pid, int fd, unsigned long flags, int logfd);
+
+SYSCALL_DEFINE4(checkpoint, pid_t, pid, int, fd, unsigned long, flags,
+ int, logfd)
+{
+ return do_sys_checkpoint(pid, fd, flags, logfd);
+}
+
SYSCALL_DEFINE4(restart, pid_t, pid, int, fd, unsigned long, flags,
int, logfd)
{
--
1.6.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-01-27 21:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-27 20:01 [PATCH 1/1] switch s390 sys_checkpoint as well Serge E. Hallyn
[not found] ` <20100127200111.GA24277-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2010-01-27 21:06 ` Oren Laadan
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.