Date: Tue, 03 Sep 2019 14:07:11 -0000 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-12@freebsd.org Subject: svn commit: r346391 - stable/12/sys/compat/linuxkpi/common/include/linux Message-ID: <201904191545.x3JFjaQj076200@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904191545.x3JFjaQj076200>