Commit 03e691ed authored by Andy Grover's avatar Andy Grover

ACPI: Fix possible sleeping at interrupt context (Matthew Wilcox)

parent a340bf30
......@@ -667,7 +667,7 @@ acpi_bus_generate_event (
if (!event_is_open)
return_VALUE(0);
event = kmalloc(sizeof(struct acpi_bus_event), GFP_KERNEL);
event = kmalloc(sizeof(struct acpi_bus_event), GFP_ATOMIC);
if (!event)
return_VALUE(-ENOMEM);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment