This function is only called from device attach routines which can
sleep.
Sponsored by: Netflix
Differential D54312
acpi: Use M_WAITOK in acpi_register_ioctl Authored by jhb on Dec 19 2025, 3:26 PM. Tags None Referenced Files
Subscribers None
Details
This function is only called from device attach routines which can Sponsored by: Netflix
Diff Detail
Event TimelineComment Actions BTW, I've thought about adding an acpi_unregister_ioctl_all or the like that just takes the fn argument and unregisters all commands that use the same function. That would be a nicer way to handle unloading of a module that registers multiple handlers. |