summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/contrib/dev/acpica/include/platform/acfreebsd.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/contrib/dev/acpica/include/platform/acfreebsd.h b/sys/contrib/dev/acpica/include/platform/acfreebsd.h
index d3084eb..ce647f3 100644
--- a/sys/contrib/dev/acpica/include/platform/acfreebsd.h
+++ b/sys/contrib/dev/acpica/include/platform/acfreebsd.h
@@ -125,11 +125,10 @@
#define ACPI_UINTPTR_T uintptr_t
+#define ACPI_USE_DO_WHILE_0
#define ACPI_USE_LOCAL_CACHE
#define ACPI_USE_SYSTEM_CLIBRARY
-#define __cdecl
-
#ifdef _KERNEL
#include <sys/ctype.h>
@@ -168,12 +167,10 @@
#define ACPI_THREAD_ID pthread_t
-/* Not building kernel code, so use libc */
#define ACPI_USE_STANDARD_HEADERS
-#define ACPI_FLUSH_CPU_CACHE()
-#define __cli()
-#define __sti()
+#define ACPI_FLUSH_CPU_CACHE()
+#define __cdecl
#endif /* _KERNEL */
OpenPOWER on IntegriCloud