Apply Kochi Takayoshi's cleanup of the ACPI enable/disable code.

date	2002.08.15.01.37.00;	author agrover;	state Exp;
This commit is contained in:
aystarik 2005-06-29 19:23:57 +00:00
parent e3ecac9cdc
commit afbefe6064

View File

@ -1,7 +1,7 @@
/******************************************************************************
*
* Module Name: utxface - External interfaces for "global" ACPI functions
* $Revision: 1.97 $
* $Revision: 1.100 $
*
*****************************************************************************/
@ -260,6 +260,8 @@ AcpiEnableSubsystem (
{
ACPI_DEBUG_PRINT ((ACPI_DB_EXEC, "[Init] Going into ACPI mode\n"));
AcpiGbl_OriginalMode = AcpiHwGetMode();
Status = AcpiEnable ();
if (ACPI_FAILURE (Status))
{
@ -401,7 +403,7 @@ AcpiTerminate (void)
AcpiUtMutexTerminate ();
#ifdef ENABLE_DEBUGGER
#ifdef ACPI_DEBUGGER
/* Shut down the debugger */