From owner-p4-projects@FreeBSD.ORG Fri Jan 4 15:48:59 2008 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id D647016A46D; Fri, 4 Jan 2008 15:48:58 +0000 (UTC) Delivered-To: perforce@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A72516A41B; Fri, 4 Jan 2008 15:48:57 +0000 (UTC) (envelope-from flata@magnesium.net) Received: from toxic.magnesium.net (toxic.magnesium.net [207.154.84.15]) by mx1.freebsd.org (Postfix) with ESMTP id C5AEF13C500; Fri, 4 Jan 2008 15:48:57 +0000 (UTC) (envelope-from flata@magnesium.net) Received: by toxic.magnesium.net (Postfix, from userid 1212) id 3ECB2DA881; Fri, 4 Jan 2008 07:18:13 -0800 (PST) Date: Fri, 4 Jan 2008 05:18:13 -1000 From: Juli Mallett To: Oleksandr Tymoshenko Message-ID: <20080104151813.GA79941@toxic.magnesium.net> References: <200801041515.m04FF6iB005672@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200801041515.m04FF6iB005672@repoman.freebsd.org> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: Perforce Change Reviews Subject: Re: PERFORCE change 132484 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jan 2008 15:48:59 -0000 _LOCORE is supposed to cover that (but it might should be spelled LOCORE?) * Oleksandr Tymoshenko [ 2008-01-04 ] [ PERFORCE change 132484 for review ] > http://perforce.freebsd.org/chv.cgi?CH=132484 > > Change 132484 by gonzo@gonzo_jeeves on 2008/01/04 15:14:35 > > o Use __ASSEMBLER__ macro to exclude C-part of setjmp.h, > it's either this way or we'll have to duplicate setjmp constants > in asm.h > > Affected files ... > > .. //depot/projects/mips2-jnpr/src/sys/mips/include/setjmp.h#4 edit > > Differences ... > > ==== //depot/projects/mips2-jnpr/src/sys/mips/include/setjmp.h#4 (text+ko) ==== > > @@ -47,11 +47,13 @@ > * internally to avoid some run-time errors for mismatches. > */ > #ifndef _LOCORE > +#ifndef __ASSEMBLER__ > #if __BSD_VISIBLE || __POSIX_VISIBLE || __XSI_VISIBLE > typedef struct _sigjmp_buf { long _sjb[_JBLEN + 1]; } sigjmp_buf[1]; > #endif > > typedef struct _jmp_buf { long _jb[_JBLEN + 1]; } jmp_buf[1]; > -#endif > +#endif /* __ASSEMBLER__ */ > +#endif /* _LOCORE */ > > #endif /* _MACHINE_SETJMP_H_ */ --