]> 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>
Wed, 6 Apr 2022 17:45:27 +0000 (11:45 -0600)
commit88543510cc7247f8eb87f82df262362883855aa9
treea8dcdee0ca25a89d221b640a32246a34da147258
parent169aa349594cb8226e53fbefc93a6e857b00015c
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.

Approved by: re@ (gjb)
Sponsored by: Netflix
Reviewed by: hselasky, emaste
Differential Revision: https://reviews.freebsd.org/D34771

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