Date: Fri, 19 Apr 2019 15:46:08 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r346392 - stable/11/sys/compat/linuxkpi/common/include/linux Message-ID: <201904191546.x3JFk8vP076274@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bz Date: Fri Apr 19 15:46:08 2019 New Revision: 346392 URL: https://svnweb.freebsd.org/changeset/base/346392 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/11/sys/compat/linuxkpi/common/include/linux/types.h Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/compat/linuxkpi/common/include/linux/types.h ============================================================================== --- stable/11/sys/compat/linuxkpi/common/include/linux/types.h Fri Apr 19 15:45:36 2019 (r346391) +++ stable/11/sys/compat/linuxkpi/common/include/linux/types.h Fri Apr 19 15:46:08 2019 (r346392) @@ -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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904191546.x3JFk8vP076274>