PERFORCE change 127533 for review
Kip Macy
kmacy at FreeBSD.org
Sun Oct 14 16:35:09 PDT 2007
http://perforce.freebsd.org/chv.cgi?CH=127533
Change 127533 by kmacy at kmacy_home:ethng on 2007/10/14 23:34:09
use shared linux compat header
Affected files ...
.. //depot/projects/ethng/src/sys/dev/cxgb/cxgb_osdep.h#13 edit
Differences ...
==== //depot/projects/ethng/src/sys/dev/cxgb/cxgb_osdep.h#13 (text+ko) ====
@@ -301,18 +301,7 @@
#define simple_strtoul strtoul
/* More types and endian definitions */
-typedef uint8_t u8;
-typedef uint16_t u16;
-typedef uint32_t u32;
-typedef uint64_t u64;
-
-typedef uint8_t __u8;
-typedef uint16_t __u16;
-typedef uint32_t __u32;
-typedef uint8_t __be8;
-typedef uint16_t __be16;
-typedef uint32_t __be32;
-typedef uint64_t __be64;
+#include <sys/linux_compat.h>
#if BYTE_ORDER == BIG_ENDIAN
#define __BIG_ENDIAN_BITFIELD
More information about the p4-projects
mailing list