HomeFreeBSD

linuxkpi: move kobject_create to .c file

Description

linuxkpi: move kobject_create to .c file

kobject_create knows the size of struct kobject. Move it to
linux_compat.c so this knowledge is confined to the loadable module and
not the clients.

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

(cherry picked from commit 36929b55849c8f553a744d6e4fbc8b1a5ff73f66)

Details

Provenance
impAuthored on Apr 5 2022, 5:05 AM
Reviewer
hselasky
Differential Revision
D34767: linuxkpi: move kobject_create to .c file
Parents
rG39289f612782: Cross-reference nextboot(8) and freebsd-update(8)
Branches
Unknown
Tags
Unknown