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:
Bjoern A. Zeeb 2019-03-01 14:33:20 +00:00
parent a5120cf00c
commit 4974f2b172
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=344700

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;