Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jan 2008 07:02:21 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 134531 for review
Message-ID:  <200801310702.m0V72LJt076241@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801310702.m0V72LJt076241>