Skip to content

Commit

Permalink
ACPICA: Update initialization codes.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lv Zheng authored and Rafael J. Wysocki committed Jan 10, 2013
1 parent f8dca24 commit 75e4446
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/acpi/acpica/utglobal.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 75e4446

Please sign in to comment.