From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nathan Lynch Subject: Re: [PATCH 1/1] s390: cr: fix unterminated #ifndef Date: Thu, 07 May 2009 16:17:27 -0500 Message-ID: References: <20090507203033.GA22542@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20090507203033.GA22542-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org> (Serge E. Hallyn's message of "Thu\, 7 May 2009 15\:30\:33 -0500") 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" 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.