svn commit: r346392 - stable/11/sys/compat/linuxkpi/common/include/linux

Bjoern A. Zeeb bz at FreeBSD.org
Fri Apr 19 15:46:09 UTC 2019


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;


More information about the svn-src-stable mailing list