Date: Tue, 5 Jun 2018 15:42:35 +0000 (UTC) From: Hans Petter Selasky <hselasky@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r334662 - head/sys/compat/linuxkpi/common/include/linux Message-ID: <201806051542.w55FgZj1043685@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: hselasky Date: Tue Jun 5 15:42:35 2018 New Revision: 334662 URL: https://svnweb.freebsd.org/changeset/base/334662 Log: Define the __kernel_size_t type in the LinuxKPI. Submitted by: Johannes Lundberg <johalun0@gmail.com> MFC after: 1 week Sponsored by: Mellanox Technologies Sponsored by: Limelight Networks Modified: head/sys/compat/linuxkpi/common/include/linux/types.h Modified: head/sys/compat/linuxkpi/common/include/linux/types.h ============================================================================== --- head/sys/compat/linuxkpi/common/include/linux/types.h Tue Jun 5 15:40:09 2018 (r334661) +++ head/sys/compat/linuxkpi/common/include/linux/types.h Tue Jun 5 15:42:35 2018 (r334662) @@ -62,6 +62,8 @@ typedef unsigned long pgoff_t; typedef u64 phys_addr_t; +typedef size_t __kernel_size_t; + #define DECLARE_BITMAP(n, bits) \ unsigned long n[howmany(bits, sizeof(long) * 8)]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806051542.w55FgZj1043685>