diff options
author | Lin Ming <ming.m.lin@intel.com> | 2010-09-15 07:55:13 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2010-10-01 07:47:55 +0200 |
commit | 28eb3fcf8762a3b52f4fef5af29dce50d23c7151 (patch) | |
tree | c3ccfc3008b7bd9a41c3637003f180a50b843fa0 /drivers/acpi/acpica/aclocal.h | |
parent | ACPICA: Add ACPI_INLINE configuration parameter (diff) | |
download | linux-28eb3fcf8762a3b52f4fef5af29dce50d23c7151.tar.xz linux-28eb3fcf8762a3b52f4fef5af29dce50d23c7151.zip |
ACPICA: Make acpi_thread_id no longer configurable, always u64
Change definition of acpi_thread_id to always be a u64. This
simplifies the code, especially any printf output. u64 is
the only common data type for all thread_id types across all
operating systems. We now force the OSL to cast the native
thread_id type to u64 before returning the value to ACPICA
(via acpi_os_get_thread_id).
Signed-off-by: Lin Ming <ming.m.lin@intel.com
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/aclocal.h')
-rw-r--r-- | drivers/acpi/acpica/aclocal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/aclocal.h b/drivers/acpi/acpica/aclocal.h index 53f7512b060f..04ce32272546 100644 --- a/drivers/acpi/acpica/aclocal.h +++ b/drivers/acpi/acpica/aclocal.h @@ -1001,7 +1001,7 @@ struct acpi_port_info { struct acpi_db_method_info { acpi_handle main_thread_gate; acpi_handle thread_complete_gate; - u32 *threads; + acpi_thread_id *threads; u32 num_threads; u32 num_created; u32 num_completed; |