From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Serge E. Hallyn" Subject: [PATCH 1/1] cr: s390: define CKPT_ARCH_ID for s390 Date: Thu, 28 May 2009 12:45:04 -0500 Message-ID: <20090528174503.GA22373@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Oren Laadan Cc: Linux Containers List-Id: containers.vger.kernel.org Signed-off-by: Serge E. Hallyn --- 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 #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 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