PERFORCE change 134771 for review
John Birrell
jb at FreeBSD.org
Mon Feb 4 01:45:01 PST 2008
http://perforce.freebsd.org/chv.cgi?CH=134771
Change 134771 by jb at jb_freebsd1 on 2008/02/04 09:44:33
Fix an endian test.
Affected files ...
.. //depot/projects/dtrace/src/contrib/opensolaris/lib/libdtrace/common/dt_cg.c#10 edit
Differences ...
==== //depot/projects/dtrace/src/contrib/opensolaris/lib/libdtrace/common/dt_cg.c#10 (text) ====
@@ -369,7 +369,7 @@
* input register to width cte_bits, and cmask as the mask used to
* pass through the containing bits and zero the field bits.
*/
-#ifdef _BIG_ENDIAN
+#if BYTE_ORDER == _BIG_ENDIAN
shift = clp2(P2ROUNDUP(e.cte_bits, NBBY) / NBBY) * NBBY -
(m.ctm_offset % NBBY + e.cte_bits);
#else
More information about the p4-projects
mailing list