From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.lixom.net (lixom.net [66.141.50.11]) by ozlabs.org (Postfix) with ESMTP id 8CAE3DDE30 for ; Thu, 17 Jan 2008 16:28:24 +1100 (EST) Date: Wed, 16 Jan 2008 23:38:57 -0600 From: Olof Johansson To: Michael Neuling Subject: Re: [PATCH 1/2] Make setjmp/longjmp code generic Message-ID: <20080117053857.GA29035@lixom.net> References: <1200545142.37022.89292279731.qpush@coopers> <20080117044542.2F6CD70006@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20080117044542.2F6CD70006@localhost.localdomain> Cc: linuxppc-dev@ozlabs.org, RAISCH@de.ibm.com, Paul Mackerras , THEMANN@de.ibm.com List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi, On Thu, Jan 17, 2008 at 03:45:42PM +1100, Michael Neuling wrote: > Index: linux-2.6-ozlabs/include/asm-powerpc/setjmp.h > =================================================================== > --- /dev/null > +++ linux-2.6-ozlabs/include/asm-powerpc/setjmp.h > @@ -0,0 +1,18 @@ > +/* > + * Copyright (C) 2007 Michael Neuling > + * > + * This program is free software; you can redistribute it and/or > + * modify it under the terms of the GNU General Public License > + * as published by the Free Software Foundation; either version > + * 2 of the License, or (at your option) any later version. > + * > + */ > +#ifndef _ASM_POWERPC_SETJMP_H > +#define _ASM_POWERPC_SETJMP_H > + > +#define JMP_BUF_LEN 23 > + > +extern long setjmp(long *); > +extern void longjmp(long *, long); > + > +#endif /* _ASM_POWERPC_SETJMP_H */ Should the above be inside #ifdef __KERNEL__? -Olof