]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
linuxkpi: Move cdev_alloc into .c file
authorWarner Losh <imp@FreeBSD.org>
Tue, 5 Apr 2022 05:05:59 +0000 (23:05 -0600)
committerWarner Losh <imp@FreeBSD.org>
Tue, 5 Apr 2022 14:40:10 +0000 (08:40 -0600)
commitd1f93d6721a6c51c0cb49078ad5c5d535a383964
treea9413a03e321da05414cba9a77055ceec2085694
parent98d2b4a158f15d6d971a88315c5c5987036f89a3
linuxkpi: Move cdev_alloc into .c file

Move cdev_alloc into linux_compat.c since it encodes the size of struct
linux_cdev into the client modules otherwise.

Sponsored by: Netflix
Reviewed by: hselasky, emaste
Differential Revision: https://reviews.freebsd.org/D34771

(cherry picked from commit aca0bcbca344b39f2a448e8c1c0d80bac8c0d6de)
sys/compat/linuxkpi/common/include/linux/cdev.h
sys/compat/linuxkpi/common/src/linux_compat.c