diff options
author | njl <njl@FreeBSD.org> | 2003-07-15 19:19:54 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2003-07-15 19:19:54 +0000 |
commit | 94647a9d0e5f7dfcf6e82e57bdf8c0869c164b2a (patch) | |
tree | 591db7db0dd23195c07dfa768fb6577ad3c0b550 | |
parent | 711369e68f8a9af1a4653daead1b914af6edebbe (diff) | |
download | FreeBSD-src-94647a9d0e5f7dfcf6e82e57bdf8c0869c164b2a.zip FreeBSD-src-94647a9d0e5f7dfcf6e82e57bdf8c0869c164b2a.tar.gz |
Remove old defines since they are no longer used.
-rw-r--r-- | sys/dev/acpica/acpivar.h | 12 |
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 |