summaryrefslogtreecommitdiffstats
path: root/sys/contrib
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>2002-03-18 10:16:57 +0000
committerdfr <dfr@FreeBSD.org>2002-03-18 10:16:57 +0000
commit3776e9ac92f229be9356ff4f15f8e6a4388eb0b5 (patch)
tree0835ce3955054a453b8ee47f902a79cedcb38473 /sys/contrib
parentc088f915ba10ea54b8ae533a130a87cd8f128bc8 (diff)
downloadFreeBSD-src-3776e9ac92f229be9356ff4f15f8e6a4388eb0b5.zip
FreeBSD-src-3776e9ac92f229be9356ff4f15f8e6a4388eb0b5.tar.gz
Remove a couple of stray linuxisms to make this work for FreeBSD/ia64.
Diffstat (limited to 'sys/contrib')
-rw-r--r--sys/contrib/dev/acpica/acgcc.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/contrib/dev/acpica/acgcc.h b/sys/contrib/dev/acpica/acgcc.h
index ea36178..a297173 100644
--- a/sys/contrib/dev/acpica/acgcc.h
+++ b/sys/contrib/dev/acpica/acgcc.h
@@ -138,7 +138,9 @@
/* Single threaded */
+#ifndef __FreeBSD__
#define ACPI_APPLICATION
+#endif
/* Asm macros */
@@ -150,12 +152,6 @@
/*! [Begin] no source code translation */
-#include <asm/pal.h>
-
-#define halt() ia64_pal_halt_light() /* PAL_HALT[_LIGHT] */
-#define safe_halt() ia64_pal_halt(1) /* PAL_HALT */
-
-
#define ACPI_ACQUIRE_GLOBAL_LOCK(GLptr, Acq) \
do { \
__asm__ volatile ("1: ld4 r29=%1\n" \
OpenPOWER on IntegriCloud