git: 9b3c89bdc8b7 - stable/13 - LinuxKPI: add kernel_ulong_t typedef in linux/kernel.h.

Bjoern A. Zeeb bz at FreeBSD.org
Sun Jul 18 00:36:12 UTC 2021


The branch stable/13 has been updated by bz:

URL: https://cgit.FreeBSD.org/src/commit/?id=9b3c89bdc8b73b3364a9cf556e1fb93f273e02cf

commit 9b3c89bdc8b73b3364a9cf556e1fb93f273e02cf
Author:     Bjoern A. Zeeb <bz at FreeBSD.org>
AuthorDate: 2021-05-24 18:47:49 +0000
Commit:     Bjoern A. Zeeb <bz at FreeBSD.org>
CommitDate: 2021-07-18 00:35:00 +0000

    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 5878c7c7b090c8579316ae4479e962684d49a499)
---
 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)]


More information about the dev-commits-src-all mailing list