Date: Wed, 2 Jan 2008 17:26:40 GMT From: Oleksandr Tymoshenko <gonzo@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 132313 for review Message-ID: <200801021726.m02HQe4b059780@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <sys/_types.h> #if defined(__CC_SUPPORTS___INLINE) && defined(__GNUCLIKE_ASM) @@ -104,6 +105,7 @@ #endif /* __CC_SUPPORTS___INLINE && __GNUCLIKE_ASM */ +#endif /* !__ASSEMBLER__ */ #endif /* !_LOCORE */ /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801021726.m02HQe4b059780>