summaryrefslogtreecommitdiff
path: root/sys/contrib/dev/acpica/utinit.c
diff options
context:
space:
mode:
authorMike Smith <msmith@FreeBSD.org>2001-11-28 04:29:40 +0000
committerMike Smith <msmith@FreeBSD.org>2001-11-28 04:29:40 +0000
commitde87ee3adafa4328c3afe008b058052873f4e60d (patch)
tree6b8691c238dc2893608d45924156125021b3fddb /sys/contrib/dev/acpica/utinit.c
parent0c794f32134774ae8f3645df68425c5f234a990e (diff)
Notes
Diffstat (limited to 'sys/contrib/dev/acpica/utinit.c')
-rw-r--r--sys/contrib/dev/acpica/utinit.c17
1 files changed, 3 insertions, 14 deletions
diff --git a/sys/contrib/dev/acpica/utinit.c b/sys/contrib/dev/acpica/utinit.c
index 35c9b4fce021..40a429438b04 100644
--- a/sys/contrib/dev/acpica/utinit.c
+++ b/sys/contrib/dev/acpica/utinit.c
@@ -1,7 +1,7 @@
/******************************************************************************
*
* Module Name: utinit - Common ACPI subsystem initialization
- * $Revision: 102 $
+ * $Revision: 103 $
*
*****************************************************************************/
@@ -121,8 +121,6 @@
#include "achware.h"
#include "acnamesp.h"
#include "acevents.h"
-#include "acparser.h"
-#include "acdispat.h"
#define _COMPONENT ACPI_UTILITIES
MODULE_NAME ("utinit")
@@ -322,7 +320,6 @@ AcpiUtSubsystemShutdown (void)
AcpiGbl_Shutdown = TRUE;
ACPI_DEBUG_PRINT ((ACPI_DB_INFO, "Shutting down ACPI Subsystem...\n"));
-
/* Close the Namespace */
AcpiNsTerminate ();
@@ -335,17 +332,9 @@ AcpiUtSubsystemShutdown (void)
AcpiUtTerminate ();
- /* Flush the local cache(s) */
-
- AcpiUtDeleteGenericStateCache ();
- AcpiUtDeleteObjectCache ();
- AcpiDsDeleteWalkStateCache ();
-
- /* Close the Parser */
-
- /* TBD: [Restructure] AcpiPsTerminate () */
+ /* Purge the local caches */
- AcpiPsDeleteParseCache ();
+ AcpiPurgeCachedObjects ();
/* Debug only - display leftover memory allocation, if any */