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
This commit is contained in:
Hans Petter Selasky 2018-06-05 15:42:35 +00:00
parent 5a1d03bb7c
commit 7f346854b8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=334662

View File

@ -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)]