Add ushort and ulong to linux/types.h.

When porting code once written for Linux we find not only uints but also ushort and ulong.
Provide central typedefs as part of the linuxkpi for those as well.

Reviewed by:	hselasky, emaste
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D19405
This commit is contained in:
bz 2019-03-01 14:33:20 +00:00
parent 68a8109f87
commit f1e0069068

View File

@ -53,7 +53,9 @@ typedef uint32_t __be32;
typedef uint64_t __le64;
typedef uint64_t __be64;
typedef unsigned short ushort;
typedef unsigned int uint;
typedef unsigned long ulong;
typedef unsigned gfp_t;
typedef off_t loff_t;
typedef vm_paddr_t resource_size_t;