Skip to content
Commit 3c1e3896 authored by Zhang Rui's avatar Zhang Rui Committed by Jeff Garzik
Browse files

libata-acpi: don't call sleeping function from invalid context

The problem is introduced by commit
664d080c

.

acpi_evaluate_integer is a sleeping function,
and it should not be called with spin_lock_irqsave.
https://bugzilla.redhat.com/show_bug.cgi?id=451399

Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent edb80471
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