From: Alexey Starikovskiy Date: Thu, 15 Feb 2007 21:12:23 +0000 (-0500) Subject: ACPICA: fix AML mutex re-entrancy X-Git-Tag: v2.6.21-rc1~88^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0d127b56937c3e72c2b1819161d2f6718eee877;p=pandora-kernel.git ACPICA: fix AML mutex re-entrancy ACPI AML supports "serialized" methods which are protected by an implicit mutex. The mutex is re-entrant for that AML thread to allow recursion. However, Linux implements notify() by creating a new AML thread. So for systems where notify() re-enters a serialized method, deadlock results. The fix is to use the Linux thread_id as the key to allowing re-entrancy, not the AML thread pointer. http://bugzilla.kernel.org/show_bug.cgi?id=5534 Signed-off-by: Alexey Starikovskiy Signed-off-by: Len Brown --- Reading git-diff-tree failed