ACPICA: Add new subsystem state bit that is set after SubsystemInitialize is called
authorBob Moore <robert.moore@intel.com>
Fri, 2 Feb 2007 16:48:21 +0000 (19:48 +0300)
committerLen Brown <len.brown@intel.com>
Sat, 3 Feb 2007 02:14:27 +0000 (21:14 -0500)
Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/utilities/utxface.c
include/acpi/actypes.h

index bec0f543e1c74d7c3328a6a15838b15eed032b83..0a3202d42b69a04dfcc0dd96488ca45f930bf67e 100644 (file)
@@ -67,6 +67,7 @@ acpi_status acpi_initialize_subsystem(void)
 
        ACPI_FUNCTION_TRACE(acpi_initialize_subsystem);
 
+       acpi_gbl_startup_flags = ACPI_SUBSYSTEM_INITIALIZE;
        ACPI_DEBUG_EXEC(acpi_ut_init_stack_ptr_trace());
 
        /* Initialize the OS-Dependent layer */
index fe9eb0ea32e44046c2e2f1d225cafee6a55137f7..6fa3f2a13db5799595273baf5b1864d66d1dfc61 100644 (file)
@@ -412,7 +412,8 @@ typedef u64 acpi_integer;
 /*
  * Initialization state
  */
-#define ACPI_INITIALIZED_OK             0x01
+#define ACPI_SUBSYSTEM_INITIALIZE       0x01
+#define ACPI_INITIALIZED_OK             0x02
 
 /*
  * Power state values