svn commit: r346391 - stable/12/sys/compat/linuxkpi/common/include/linux
Bjoern A. Zeeb
bz at FreeBSD.org
Fri Apr 19 15:45:37 UTC 2019
Author: bz
Date: Fri Apr 19 15:45:36 2019
New Revision: 346391
URL: https://svnweb.freebsd.org/changeset/base/346391
Log:
MFC r344700:
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.
Modified:
stable/12/sys/compat/linuxkpi/common/include/linux/types.h
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/sys/compat/linuxkpi/common/include/linux/types.h
==============================================================================
--- stable/12/sys/compat/linuxkpi/common/include/linux/types.h Fri Apr 19 15:44:45 2019 (r346390)
+++ stable/12/sys/compat/linuxkpi/common/include/linux/types.h Fri Apr 19 15:45:36 2019 (r346391)
@@ -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 uint64_t loff_t;
typedef vm_paddr_t resource_size_t;
More information about the svn-src-all
mailing list