summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2003-07-15 19:19:54 +0000
committernjl <njl@FreeBSD.org>2003-07-15 19:19:54 +0000
commit94647a9d0e5f7dfcf6e82e57bdf8c0869c164b2a (patch)
tree591db7db0dd23195c07dfa768fb6577ad3c0b550 /sys
parent711369e68f8a9af1a4653daead1b914af6edebbe (diff)
downloadFreeBSD-src-94647a9d0e5f7dfcf6e82e57bdf8c0869c164b2a.zip
FreeBSD-src-94647a9d0e5f7dfcf6e82e57bdf8c0869c164b2a.tar.gz
Remove old defines since they are no longer used.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/acpica/acpivar.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/sys/dev/acpica/acpivar.h b/sys/dev/acpica/acpivar.h
index cd254ac..e2e5911 100644
--- a/sys/dev/acpica/acpivar.h
+++ b/sys/dev/acpica/acpivar.h
@@ -104,22 +104,10 @@ struct acpi_device {
# define ACPI_LOCK_DECL int s
# define kthread_create(a, b, c, d, e, f) kthread_create(a, b, c, f)
# define tc_init(a) init_timecounter(a)
-#elif 0
-/*
- * The ACPI subsystem lives under a single mutex. You *must*
- * acquire this mutex before calling any of the acpi_ or Acpi* functions.
- */
-extern struct mtx acpi_mutex;
-# define ACPI_LOCK mtx_lock(&acpi_mutex)
-# define ACPI_UNLOCK mtx_unlock(&acpi_mutex)
-# define ACPI_ASSERTLOCK mtx_assert(&acpi_mutex, MA_OWNED)
-# define ACPI_MSLEEP(a, b, c, d, e) msleep(a, b, c, d, e)
-# define ACPI_LOCK_DECL
#else
# define ACPI_LOCK
# define ACPI_UNLOCK
# define ACPI_ASSERTLOCK
-# define ACPI_MSLEEP(a, b, c, d, e) tsleep(a, c, d, e)
# define ACPI_LOCK_DECL
#endif
OpenPOWER on IntegriCloud