[Devel] Re: [PATCH 1/1] cr: s390: define CKPT_ARCH_ID for s390

Oren Laadan orenl at cs.columbia.edu
Fri May 29 03:16:52 PDT 2009


applied, thanks.

Serge E. Hallyn wrote:
> Signed-off-by: Serge E. Hallyn <serue at us.ibm.com>
> ---
>  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) */
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list