summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/dsmethod.c
diff options
context:
space:
mode:
authorLin Ming2010-09-15 07:55:13 +0200
committerLen Brown2010-10-01 07:47:55 +0200
commit28eb3fcf8762a3b52f4fef5af29dce50d23c7151 (patch)
treec3ccfc3008b7bd9a41c3637003f180a50b843fa0 /drivers/acpi/acpica/dsmethod.c
parentACPICA: Add ACPI_INLINE configuration parameter (diff)
downloadkernel-qcow2-linux-28eb3fcf8762a3b52f4fef5af29dce50d23c7151.tar.gz
kernel-qcow2-linux-28eb3fcf8762a3b52f4fef5af29dce50d23c7151.tar.xz
kernel-qcow2-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/dsmethod.c')
-rw-r--r--drivers/acpi/acpica/dsmethod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/dsmethod.c b/drivers/acpi/acpica/dsmethod.c
index 64750ee96e20..d94dd8974b55 100644
--- a/drivers/acpi/acpica/dsmethod.c
+++ b/drivers/acpi/acpica/dsmethod.c
@@ -573,7 +573,7 @@ acpi_ds_terminate_control_method(union acpi_operand_object *method_desc,
acpi_os_release_mutex(method_desc->method.
mutex->mutex.os_mutex);
- method_desc->method.mutex->mutex.thread_id = NULL;
+ method_desc->method.mutex->mutex.thread_id = 0;
}
}