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

Details

Provenance
impAuthored on Apr 5 2022, 5:05 AM
Reviewer
hselasky
Differential Revision
D34767: linuxkpi: move kobject_create to .c file
Parents
rG6e671ec1e64c: svc_vc_rendezvous_stat: eliminiate write only variable stat
Branches
Unknown
Tags
Unknown