ACPICA: Fix for possible fault in acpi_ex_release_mutex
authorLin Ming <ming.m.lin@intel.com>
Fri, 5 Mar 2010 09:59:54 +0000 (17:59 +0800)
committerLen Brown <len.brown@intel.com>
Tue, 20 Apr 2010 14:42:53 +0000 (10:42 -0400)
commite0f40281d52161dddeb1bc12879425266a53f26f
tree163241e07e71a32fa56b6433d70630dc86af1ca3
parentf6a22b0bc417042e83117f52ab1a03696af185ab
ACPICA: Fix for possible fault in acpi_ex_release_mutex

Fixed a problem with the AML Mutex handling function
acpi_ex_release_mutex where the function could fault under the very
rare condition when the interpreter has blocked, the interpreter
lock is released, the interpreter is then reentered via the
same thread, and attempts to acquire a mutex that was previously
acquired. FreeBSD report 140979.

http://www.freebsd.org/cgi/query-pr.cgi?pr=140979

Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/acpica/exmutex.c