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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



applied, thanks.

Serge E. Hallyn wrote:
> Signed-off-by: Serge E. Hallyn <serue@xxxxxxxxxx>
> ---
>  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@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/containers

[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux