--- trunk/reactos/drivers/bus/acpi/ospm/osl.c 2005-03-19 01:37:47 UTC (rev 14185)
+++ trunk/reactos/drivers/bus/acpi/ospm/osl.c 2005-03-19 02:18:49 UTC (rev 14186)
@@ -601,5 +601,5 @@
u32
acpi_os_get_thread_id (void)
{
- return (ULONG)PsGetCurrentThreadId();
+ return (ULONG)PsGetCurrentThreadId() + 1;
}
--- trunk/reactos/drivers/bus/acpi/utils/cmglobal.c 2005-03-19 01:37:47 UTC (rev 14185)
+++ trunk/reactos/drivers/bus/acpi/utils/cmglobal.c 2005-03-19 02:18:49 UTC (rev 14186)
@@ -389,6 +389,7 @@
acpi_gbl_acpi_mutex_info[i].mutex = NULL;
acpi_gbl_acpi_mutex_info[i].locked = FALSE;
acpi_gbl_acpi_mutex_info[i].use_count = 0;
+ acpi_gbl_acpi_mutex_info[i].owner_id = 0;
}
/* Global notify handlers */