Skip to contentSkip to conversation

cr: s390: define CKPT_ARCH_ID for s390

PATCH Applied Serge E. Hallyn 2 participants 2 messages May 28, 2009 – May 29, 2009 1 message not in the archive s390

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cr: s390: define CKPT_ARCH_ID for s390

---
 arch/s390/include/asm/checkpoint_hdr.h |    5 +++++
 include/linux/checkpoint_hdr.h         |    1 +
 2 files changed, 6 insertions(+), 0 deletions(-)
arch/s390/include/asm/checkpoint_hdr.h +5 -0
index 185194b..fc0ace8 100644
@@ -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
include/linux/checkpoint_hdr.h +1 -0
index 46f38f3..7f4972b 100644
@@ -89,6 +89,7 @@ enum {
 /* architecture */
 enum {
 	CKPT_ARCH_X86_32 = 1,
+	CKPT_ARCH_S390X,
 };
 
 /* shared objrects (objref) */
Signature · 1 line
1.6.1

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

Applied
#2 lore raw

applied, thanks.

Quoted 34 lines · Serge E. Hallyn
---
 arch/s390/include/asm/checkpoint_hdr.h |    5 +++++
 include/linux/checkpoint_hdr.h         |    1 +
 2 files changed, 6 insertions(+), 0 deletions(-)
arch/s390/include/asm/checkpoint_hdr.h +5 -0
index 185194b..fc0ace8 100644
@@ -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
include/linux/checkpoint_hdr.h +1 -0
index 46f38f3..7f4972b 100644
@@ -89,6 +89,7 @@ enum {
 /* architecture */
 enum {
 	CKPT_ARCH_X86_32 = 1,
+	CKPT_ARCH_S390X,
 };
 
 /* shared objrects (objref) */