]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ACPICA: Update initialization codes.
authorLv Zheng <lv.zheng@intel.com>
Wed, 19 Dec 2012 05:37:41 +0000 (05:37 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 10 Jan 2013 11:36:18 +0000 (12:36 +0100)
This patch decreases 18 lines of 20121018 divergence.diff.

This patch updates initialization codes as they are already been updated in
ACPICA. This can also help to reduce source code differences between Linux
and ACPICA.

Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/utglobal.c

index c083611c76a6206ab216c786ccbdd26f41d263b8..7b4dd21009e64718c64174ff98d709f43d2e703e 100644 (file)
@@ -293,11 +293,11 @@ acpi_status acpi_ut_init_globals(void)
 
        /* GPE support */
 
+       acpi_gbl_all_gpes_initialized = FALSE;
        acpi_gbl_gpe_xrupt_list_head = NULL;
        acpi_gbl_gpe_fadt_blocks[0] = NULL;
        acpi_gbl_gpe_fadt_blocks[1] = NULL;
        acpi_current_gpe_count = 0;
-       acpi_gbl_all_gpes_initialized = FALSE;
 
        acpi_gbl_global_event_handler = NULL;
 
@@ -367,6 +367,7 @@ acpi_status acpi_ut_init_globals(void)
 
 #ifdef ACPI_DBG_TRACK_ALLOCATIONS
        acpi_gbl_display_final_mem_stats = FALSE;
+       acpi_gbl_disable_mem_tracking = FALSE;
 #endif
 
        return_ACPI_STATUS(AE_OK);