Skip to content

Commit 2c1779f

Browse files
Erik Kanedarafaeljw
authored andcommitted
ACPICA: Move acpi_gbl_next_cmd_num definition to acglobal.h
ACPICA commit 8296a24f33984c26a61103c590b049de3c9b61ff This commit cleans up the code by moving the global definition out of dbhistry.c to acglobal.h. Link: acpica/acpica@8296a24f Reported-by: Hulk Robot <[email protected]> Suggested-by: Jason Yan <[email protected]> Signed-off-by: Erik Kaneda <[email protected]> Signed-off-by: Bob Moore <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent f5308a8 commit 2c1779f

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

drivers/acpi/acpica/acglobal.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,7 @@ ACPI_GLOBAL(struct acpi_external_file *, acpi_gbl_external_file_list);
290290
#ifdef ACPI_DEBUGGER
291291
ACPI_INIT_GLOBAL(u8, acpi_gbl_abort_method, FALSE);
292292
ACPI_INIT_GLOBAL(acpi_thread_id, acpi_gbl_db_thread_id, ACPI_INVALID_THREAD_ID);
293+
ACPI_INIT_GLOBAL(u32, acpi_gbl_next_cmd_num, 1);
293294

294295
ACPI_GLOBAL(u8, acpi_gbl_db_opt_no_ini_methods);
295296
ACPI_GLOBAL(u8, acpi_gbl_db_opt_no_region_support);

drivers/acpi/acpica/dbhistry.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ static HISTORY_INFO acpi_gbl_history_buffer[HISTORY_SIZE];
2727
static u16 acpi_gbl_lo_history = 0;
2828
static u16 acpi_gbl_num_history = 0;
2929
static u16 acpi_gbl_next_history_index = 0;
30-
u32 acpi_gbl_next_cmd_num = 1;
3130

3231
/*******************************************************************************
3332
*

0 commit comments

Comments
 (0)