From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oren Laadan Subject: Re: [PATCH 1/1] cr: define CKPT_ARCH_NSIG for s390x Date: Thu, 25 Jun 2009 22:08:04 -0400 Message-ID: <4A442D84.5010009@cs.columbia.edu> References: <20090625184847.GA11510@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20090625184847.GA11510-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org> 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: "Serge E. Hallyn" Cc: Linux Containers List-Id: containers.vger.kernel.org Serge E. Hallyn wrote: > Else compilation fails on s390x. > > Signed-off-by: Serge E. Hallyn > --- > arch/s390/include/asm/checkpoint_hdr.h | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/arch/s390/include/asm/checkpoint_hdr.h b/arch/s390/include/asm/checkpoint_hdr.h > index fc0ace8..a5aaa3e 100644 > --- a/arch/s390/include/asm/checkpoint_hdr.h > +++ b/arch/s390/include/asm/checkpoint_hdr.h > @@ -79,6 +79,8 @@ struct ckpt_hdr_mm_context { > unsigned long asce_limit; > }; > > +#define CKPT_ARCH_NSIG _SIGCONTEXT_NSIG > + But _SIGCONTEXT_NSIG is defined within #ifdef __KERNEL__ ? Oren. > struct ckpt_hdr_header_arch { > struct ckpt_hdr h; > };