Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/acpica/dist Cast pthread_self(3) to uintptr...
details: https://anonhg.NetBSD.org/src/rev/2683d886da7e
branches: trunk
changeset: 762254:2683d886da7e
user: jruoho <jruoho%NetBSD.org@localhost>
date: Fri Feb 18 13:01:22 2011 +0000
description:
Cast pthread_self(3) to uintptr_t. ACPICA 20100915:
The ACPI_THREAD_ID type is no longer configurable, internally it is now
always UINT64. This simplifies the ACPICA code, especially any printf
output. UINT64 is the only common data type for all thread_id types across
all operating systems. It is now up to the host OSL to cast the native
thread_id type to UINT64 before returning the value to ACPICA (via
AcpiOsGetThreadId). Lin Ming, Bob Moore.
diffstat:
sys/external/bsd/acpica/dist/osunixxf.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 639c01b0d385 -r 2683d886da7e sys/external/bsd/acpica/dist/osunixxf.c
--- a/sys/external/bsd/acpica/dist/osunixxf.c Fri Feb 18 12:22:46 2011 +0000
+++ b/sys/external/bsd/acpica/dist/osunixxf.c Fri Feb 18 13:01:22 2011 +0000
@@ -1157,7 +1157,7 @@
void)
{
- return (ACPI_CAST_PTHREAD_T (pthread_self()));
+ return (uintptr_t)(ACPI_CAST_PTHREAD_T (pthread_self()));
}
Home |
Main Index |
Thread Index |
Old Index