ACPICA: Utilities: Deploy ACPI_DEBUGGER_EXEC for ACPI_DEBUGGER enabled code in utglob...
authorLv Zheng <lv.zheng@intel.com>
Wed, 30 Apr 2014 02:03:39 +0000 (10:03 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 6 May 2014 22:54:59 +0000 (00:54 +0200)
This patch deploys ACPI_DEBUGGER_EXEC usage to utglobal.c to reduce "ifdef"
of ACPI_DEBUGGER.  No functional changes.  Lv Zheng.

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

index f3abeae9d2f87b69650e324cd66a2ea799cc1a93..825b064e21f346196d338b068554720f072034fc 100644 (file)
@@ -377,9 +377,7 @@ acpi_status acpi_ut_init_globals(void)
        acpi_gbl_disable_mem_tracking = FALSE;
 #endif
 
-#ifdef ACPI_DEBUGGER
-       acpi_gbl_db_terminate_threads = FALSE;
-#endif
+       ACPI_DEBUGGER_EXEC(acpi_gbl_db_terminate_threads = FALSE);
 
        return_ACPI_STATUS(AE_OK);
 }