acpi: processor add release_region()
PATCH 1/1 acpi: processor add release_region()
Hi,
The processor module reservers some io mem but it does not release that region during unload nor during processor removal (possibly with hotplug support?).
This casues oops after unloading processor module and attempt to read contents of /proc/ioports file (memory region name points to unloaded module).
Best Regards,
Igor
drivers/acpi/processor_core.c +3 -0
@@ -675,6 +675,9 @@acpi_processor_remove_fs (device); +if (pr->throttling.address) +release_region (pr->throttling.address,6 ); + processors[pr->id] =NULL ;kfree (pr);
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl