PERFORCE change 134531 for review
Warner Losh
imp at FreeBSD.org
Wed Jan 30 23:02:22 PST 2008
http://perforce.freebsd.org/chv.cgi?CH=134531
Change 134531 by imp at 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
}
More information about the p4-projects
mailing list