From: "Serge E. Hallyn" Subject: Re: [PATCH 1/1] s390: cr: fix unterminated #ifndef Date: Thu, 7 May 2009 16:30:51 -0500 Message-ID: <20090507213051.GB23955@us.ibm.com> References: <20090507203033.GA22542@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: 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: Nathan Lynch Cc: Linux Containers List-Id: containers.vger.kernel.org Quoting Nathan Lynch (ntl-e+AXbWqSrlAAvxtiuMwx3w@public.gmane.org): > "Serge E. Hallyn" writes: > > With this, v15 compiles and does checkpoint/restart just fine > > on s390. > > > > Signed-off-by: Serge E. Hallyn > > --- > > arch/s390/include/asm/checkpoint_hdr.h | 1 + > > 1 files changed, 1 insertions(+), 0 deletions(-) > > > > diff --git a/arch/s390/include/asm/checkpoint_hdr.h b/arch/s390/include/asm/checkpoint_hdr.h > > index 292dc33..48ee296 100644 > > --- a/arch/s390/include/asm/checkpoint_hdr.h > > +++ b/arch/s390/include/asm/checkpoint_hdr.h > > @@ -80,4 +80,5 @@ struct ckpt_hdr_header_arch { > > struct ckpt_hdr h; > > }; > > > > +#endif /* __s390x__ */ > > I suggest just removing the #ifdef __s390x__. 32-bit builds may not be > supported or tested yet, but just having the declarations isn't going to > break things. And it's one less thing to stumble over if someone does > implement 32-bit support. Actually, you're more right than you know - CONFIG_CHECKPOINT already is off if not 64bit :) So yeah, the ifdef should just be removed. thanks, -serge