mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
LinuxKPI: add kernel_ulong_t typedef in linux/kernel.h.
Sponsored by: The FreeBSD Foundation
Reviewed by: hselasky
Differential Revision: https://reviews.freebsd.org/D30438
(cherry picked from commit 5878c7c7b0)
This commit is contained in:
parent
ee0eb6c07c
commit
9b3c89bdc8
1 changed files with 1 additions and 0 deletions
|
|
@ -72,6 +72,7 @@ typedef unsigned __poll_t;
|
|||
typedef uint64_t phys_addr_t;
|
||||
|
||||
typedef size_t __kernel_size_t;
|
||||
typedef unsigned long kernel_ulong_t;
|
||||
|
||||
#define DECLARE_BITMAP(n, bits) \
|
||||
unsigned long n[howmany(bits, sizeof(long) * 8)]
|
||||
|
|
|
|||
Loading…
Reference in a new issue