]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
linuxkpi: Move class_create to .c file
authorWarner Losh <imp@FreeBSD.org>
Tue, 5 Apr 2022 05:05:43 +0000 (23:05 -0600)
committerWarner Losh <imp@FreeBSD.org>
Tue, 5 Apr 2022 05:05:43 +0000 (23:05 -0600)
commit1341ac9f9c111bba4e1ca046c479f32f2d4989c0
tree9c403d021ffc603d2cd049955504c7e5de7cc450
parent702b6875035921252d0f2b72171c7662f28766fb
linuxkpi: Move class_create to .c file

class_create encodes the size of struct class into the generated
code. Move from .h file to .c file to move this knowledge from the
client modules that call this into the linuxkpi module.

Sponsored by: Netflix
Reviewed by: hselasky, emaste
Differential Revision: https://reviews.freebsd.org/D34769
sys/compat/linuxkpi/common/include/linux/device.h
sys/compat/linuxkpi/common/src/linux_compat.c