aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/platform/acfreebsd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/platform/acfreebsd.h b/include/platform/acfreebsd.h
index 6c087da084f6..59694e3d573e 100644
--- a/include/platform/acfreebsd.h
+++ b/include/platform/acfreebsd.h
@@ -165,6 +165,8 @@
#include <ctype.h>
#endif
+#define ACPI_CAST_PTHREAD_T(pthread) ((ACPI_THREAD_ID) ACPI_TO_INTEGER (pthread))
+
#define ACPI_USE_STANDARD_HEADERS
#define ACPI_FLUSH_CPU_CACHE()