Module Name: src
Committed By: jruoho
Date: Fri Feb 18 17:31:14 UTC 2011
Modified Files:
src/sys/external/bsd/acpica/dist/include/platform: acnetbsd.h
Log Message:
Provide ACPI_CAST_PTHREAD_T(x).
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 \
src/sys/external/bsd/acpica/dist/include/platform/acnetbsd.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/external/bsd/acpica/dist/include/platform/acnetbsd.h
diff -u src/sys/external/bsd/acpica/dist/include/platform/acnetbsd.h:1.4 src/sys/external/bsd/acpica/dist/include/platform/acnetbsd.h:1.5
--- src/sys/external/bsd/acpica/dist/include/platform/acnetbsd.h:1.4 Thu Feb 17 10:12:50 2011
+++ src/sys/external/bsd/acpica/dist/include/platform/acnetbsd.h Fri Feb 18 17:31:14 2011
@@ -1,7 +1,7 @@
/******************************************************************************
*
* Name: acnetbsd.h - OS specific defines, etc.
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
*****************************************************************************/
@@ -51,6 +51,7 @@
#define ACPI_UINTPTR_T uintptr_t
#define ACPI_USE_LOCAL_CACHE
+#define ACPI_CAST_PTHREAD_T(x) ((ACPI_THREAD_ID) ACPI_TO_INTEGER (x))
#ifdef _LP64
#define ACPI_MACHINE_WIDTH 64