ACPICA: Mutex support: Fix release ordering issue and current sync level
authorBob Moore <robert.moore@intel.com>
Thu, 21 May 2009 02:02:34 +0000 (10:02 +0800)
committerLen Brown <len.brown@intel.com>
Wed, 27 May 2009 04:32:24 +0000 (00:32 -0400)
commit10a3b461a258f52b17fb8e35edf3625726eca9a8
tree9fa487b04ecb9007f6eac30ee9a6ecb4c179090e
parentba9e2ae443feb7231d9631ea0f62b63e26cfb9b1
ACPICA: Mutex support: Fix release ordering issue and current sync level

Fixes a problem where if multiple mutexes of the same sync level
are acquired but then not released in strict opposite order, the
current sync level becomes confused and can cause errors.
ACPICA BZ 471.

http://acpica.org/bugzilla/show_bug.cgi?id=471

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