From 5878c7c7b090c8579316ae4479e962684d49a499 Mon Sep 17 00:00:00 2001 From: "Bjoern A. Zeeb" Date: Mon, 24 May 2021 18:47:49 +0000 Subject: [PATCH] LinuxKPI: add kernel_ulong_t typedef in linux/kernel.h. Sponsored by: The FreeBSD Foundation MFC after: 2 weeks Reviewed by: hselasky Differential Revision: https://reviews.freebsd.org/D30438 --- sys/compat/linuxkpi/common/include/linux/types.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/compat/linuxkpi/common/include/linux/types.h b/sys/compat/linuxkpi/common/include/linux/types.h index aa3580c81a27..db362c388573 100644 --- a/sys/compat/linuxkpi/common/include/linux/types.h +++ b/sys/compat/linuxkpi/common/include/linux/types.h @@ -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)]