* [PATCH 1/1] cr: s390: define CKPT_ARCH_ID for s390
@ 2009-05-28 17:45 Serge E. Hallyn
[not found] ` <20090528174503.GA22373-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Serge E. Hallyn @ 2009-05-28 17:45 UTC (permalink / raw)
To: Oren Laadan; +Cc: Linux Containers
Signed-off-by: Serge E. Hallyn <serue-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
---
arch/s390/include/asm/checkpoint_hdr.h | 5 +++++
include/linux/checkpoint_hdr.h | 1 +
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/arch/s390/include/asm/checkpoint_hdr.h b/arch/s390/include/asm/checkpoint_hdr.h
index 185194b..fc0ace8 100644
--- a/arch/s390/include/asm/checkpoint_hdr.h
+++ b/arch/s390/include/asm/checkpoint_hdr.h
@@ -20,6 +20,11 @@
#include <sys/user.h>
#endif
+#ifdef CONFIG_64BIT
+#define CKPT_ARCH_ID CKPT_ARCH_S390X
+/* else - if we ever support 32bit - CKPT_ARCH_S390 */
+#endif
+
/*
* Notes
* NUM_GPRS defined in <asm/ptrace.h> to be 16
diff --git a/include/linux/checkpoint_hdr.h b/include/linux/checkpoint_hdr.h
index 46f38f3..7f4972b 100644
--- a/include/linux/checkpoint_hdr.h
+++ b/include/linux/checkpoint_hdr.h
@@ -89,6 +89,7 @@ enum {
/* architecture */
enum {
CKPT_ARCH_X86_32 = 1,
+ CKPT_ARCH_S390X,
};
/* shared objrects (objref) */
--
1.6.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-05-29 10:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-28 17:45 [PATCH 1/1] cr: s390: define CKPT_ARCH_ID for s390 Serge E. Hallyn
[not found] ` <20090528174503.GA22373-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-05-29 10:16 ` Oren Laadan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox