acpi_thread_id = acpi_os_get_thread_id()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux