Implement aligned LinuxKPI types for u16, u32 and u64.
Makes a difference for 32-bit platforms mostly. MFC after: 1 week Sponsored by: Mellanox Technologies
This commit is contained in:
parent
07fdea3672
commit
fdbfa4f19e
@ -53,6 +53,10 @@ typedef uint32_t __be32;
|
||||
typedef uint64_t __le64;
|
||||
typedef uint64_t __be64;
|
||||
|
||||
typedef uint16_t __aligned_u16 __aligned(sizeof(uint16_t));
|
||||
typedef uint32_t __aligned_u32 __aligned(sizeof(uint32_t));
|
||||
typedef uint64_t __aligned_u64 __aligned(sizeof(uint64_t));
|
||||
|
||||
typedef unsigned short ushort;
|
||||
typedef unsigned int uint;
|
||||
typedef unsigned long ulong;
|
||||
|
Loading…
x
Reference in New Issue
Block a user