1 Apr 2006 10:13
acpi_thread_id = acpi_os_get_thread_id()
Brown, Len <len.brown <at> intel.com>
2006-04-01 08:13:37 GMT
2006-04-01 08:13:37 GMT
Bob, with the new type acpi_thread_id, it seems that the thread_id grows from 32-bits to 64-bits on a 64-bit mahcine. acpi_os_get_thread_id() currently returns task.pid on Linux, a 32-bit integer on both 32 and 64-bit machines. So if acpi_os_get_thread_id() is called at interrupt level, its return value is meaningless. Linux doesn't define ACPI_MUTEX_DEBUG, and looks like it never will. Is it possible to delete the concept of acpi_os_get_thread_id()? I'm wondering at the moment if the right thing isn't to do this: #define acpi_os_get_thread_id() (0) thanks, -Len - To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo <at> vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
RSS Feed