[Devel] [RFC v14][PATCH 32/54] powerpc: wire up checkpoint and restart syscalls
Oren Laadan
orenl at cs.columbia.edu
Tue Apr 28 16:24:02 PDT 2009
From: Nathan Lynch <ntl at pobox.com>
Signed-off-by: Nathan Lynch <ntl at pobox.com>
---
arch/powerpc/include/asm/systbl.h | 2 ++
arch/powerpc/include/asm/unistd.h | 4 +++-
2 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/arch/powerpc/include/asm/systbl.h b/arch/powerpc/include/asm/systbl.h
index d98a30d..d2828c2 100644
--- a/arch/powerpc/include/asm/systbl.h
+++ b/arch/powerpc/include/asm/systbl.h
@@ -325,3 +325,5 @@ SYSCALL(inotify_init1)
SYSCALL(ni_syscall)
COMPAT_SYS_SPU(preadv)
COMPAT_SYS_SPU(pwritev)
+SYSCALL(checkpoint)
+SYSCALL(restart)
diff --git a/arch/powerpc/include/asm/unistd.h b/arch/powerpc/include/asm/unistd.h
index 3f06f8e..c3f515c 100644
--- a/arch/powerpc/include/asm/unistd.h
+++ b/arch/powerpc/include/asm/unistd.h
@@ -343,10 +343,12 @@
#define __NR_inotify_init1 318
#define __NR_preadv 320
#define __NR_pwritev 321
+#define __NR_checkpoint 322
+#define __NR_restart 323
#ifdef __KERNEL__
-#define __NR_syscalls 322
+#define __NR_syscalls 324
#define __NR__exit __NR_exit
#define NR_syscalls __NR_syscalls
--
1.5.4.3
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
More information about the Devel
mailing list