From owner-p4-projects@FreeBSD.ORG Thu Jan 31 07:02:22 2008 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 770A216A420; Thu, 31 Jan 2008 07:02:22 +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 3C30416A418 for ; Thu, 31 Jan 2008 07:02:22 +0000 (UTC) (envelope-from imp@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 24EB913C46A for ; Thu, 31 Jan 2008 07:02:22 +0000 (UTC) (envelope-from imp@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m0V72Mhu076244 for ; Thu, 31 Jan 2008 07:02:22 GMT (envelope-from imp@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m0V72LJt076241 for perforce@freebsd.org; Thu, 31 Jan 2008 07:02:21 GMT (envelope-from imp@freebsd.org) Date: Thu, 31 Jan 2008 07:02:21 GMT Message-Id: <200801310702.m0V72LJt076241@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to imp@freebsd.org using -f From: Warner Losh To: Perforce Change Reviews Cc: Subject: PERFORCE change 134531 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: Thu, 31 Jan 2008 07:02:22 -0000 http://perforce.freebsd.org/chv.cgi?CH=134531 Change 134531 by imp@imp_lighthouse on 2008/01/31 07:01:48 No need to test for both _LOCORE and __ASSEMBLER. The latter suffices. Affected files ... .. //depot/projects/mips2-jnpr/src/sys/mips/include/endian.h#9 edit Differences ... ==== //depot/projects/mips2-jnpr/src/sys/mips/include/endian.h#9 (text+ko) ==== @@ -69,8 +69,7 @@ #define BYTE_ORDER _BYTE_ORDER #endif -#ifndef LOCORE -#ifndef __ASSEMBLER__ +#ifndef __ASSEMBLER__ #if defined(__GNUCLIKE_BUILTIN_CONSTANT_P) && defined(__OPTIMIZE__) #define __is_constant(x) __builtin_constant_p(x) #else @@ -140,8 +139,7 @@ #define __htons(x) (__bswap16((x))) #endif /* _MIPSEB */ -#endif /* __ASSEMBLER__ */ -#endif /* LOCORE */ +#endif /* _ASSEMBLER_ */ #ifdef __cplusplus }