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 Fri, Dec 19, 3:26 PM. Tags None Referenced Files
Subscribers None
Details
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. |