[Devel] [PATCH 1/2] m_type is long, not int

serue at us.ibm.com serue at us.ibm.com
Tue Jan 12 20:09:20 PST 2010


From: Serge Hallyn <serue at us.ibm.com>

So make sure we store a field big enough on 64-bit arch.

Signed-off-by: Serge Hallyn <serue at us.ibm.com>
---
 include/linux/checkpoint_hdr.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/checkpoint_hdr.h b/include/linux/checkpoint_hdr.h
index 314d967..a80dcdc 100644
--- a/include/linux/checkpoint_hdr.h
+++ b/include/linux/checkpoint_hdr.h
@@ -977,7 +977,7 @@ struct ckpt_hdr_ipc_msg {
 
 struct ckpt_hdr_ipc_msg_msg {
 	struct ckpt_hdr h;
-	__s32 m_type;
+	__s64 m_type;
 	__u32 m_ts;
 	__s32 sec_ref;
 } __attribute__((aligned(8)));
-- 
1.6.0.6

_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list