From owner-p4-projects@FreeBSD.ORG Wed Jan 2 17:26:41 2008 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id E2B9F16A418; Wed, 2 Jan 2008 17:26:40 +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 A83E316A421 for ; Wed, 2 Jan 2008 17:26:40 +0000 (UTC) (envelope-from gonzo@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 977F313C4DB for ; Wed, 2 Jan 2008 17:26:40 +0000 (UTC) (envelope-from gonzo@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 m02HQeib059789 for ; Wed, 2 Jan 2008 17:26:40 GMT (envelope-from gonzo@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m02HQe4b059780 for perforce@freebsd.org; Wed, 2 Jan 2008 17:26:40 GMT (envelope-from gonzo@FreeBSD.org) Date: Wed, 2 Jan 2008 17:26:40 GMT Message-Id: <200801021726.m02HQe4b059780@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to gonzo@FreeBSD.org using -f From: Oleksandr Tymoshenko To: Perforce Change Reviews Cc: Subject: PERFORCE change 132313 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: Wed, 02 Jan 2008 17:26:41 -0000 http://perforce.freebsd.org/chv.cgi?CH=132313 Change 132313 by gonzo@gonzo_jeeves on 2008/01/02 17:25:57 o endian.h is used in asm.h to define LWLO/LWHI/SWLO/SWHI macroses depending on platform endianess, so hide non-assembler part of it by checking for __ASSEMBLER__ built-in macro. Affected files ... .. //depot/projects/mips2-jnpr/src/sys/mips/include/endian.h#4 edit Differences ... ==== //depot/projects/mips2-jnpr/src/sys/mips/include/endian.h#4 (text+ko) ==== @@ -60,6 +60,7 @@ #define _BYTE_ORDER _BIG_ENDIAN #ifndef _LOCORE +#ifndef __ASSEMBLER__ #include #if defined(__CC_SUPPORTS___INLINE) && defined(__GNUCLIKE_ASM) @@ -104,6 +105,7 @@ #endif /* __CC_SUPPORTS___INLINE && __GNUCLIKE_ASM */ +#endif /* !__ASSEMBLER__ */ #endif /* !_LOCORE */ /*