From: Len Brown Date: Sat, 8 Jul 2006 00:11:07 +0000 (-0400) Subject: ACPI: acpi_os_get_thread_id() returns current X-Git-Tag: v2.6.18-rc2~116^2~3^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab8aa06a5c0b75974fb1949365cbb20a15cedf14;p=pandora-kernel.git ACPI: acpi_os_get_thread_id() returns current Linux mutexes and the debug code that that reference acpi_os_get_thread_id() are happy with 0. But the AML mutexes in exmutex.c expect a unique non-zero number for each thread - as they track this thread_id to permit the mutex re-entrancy defined by the ACPI spec. http://bugzilla.kernel.org/show_bug.cgi?id=6687 Signed-off-by: Len Brown --- Reading git-diff-tree failed