Skip to contentSkip to conversation

switch s390 sys_checkpoint as well

PATCH In review Serge E. Hallyn 2 participants 2 messages Jan 27, 2010 1 message not in the archive s390

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 switch s390 sys_checkpoint as well

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...

---
 arch/s390/kernel/process.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
arch/s390/kernel/process.c +9 -0
index 087f52c..ef66fa3 100644
@@ -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)
 {
Signature · 1 line
1.6.1

A message that is not in the archive (sent off-list or not yet received): 20100127200111.GA24277-r/[email protected]

#2 lore raw

got it.

Quoted 30 lines · Serge E. Hallyn

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...

---
 arch/s390/kernel/process.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
arch/s390/kernel/process.c +9 -0
index 087f52c..ef66fa3 100644
@@ -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)
 {