diff options
author | Lv Zheng <lv.zheng@intel.com> | 2016-12-21 16:12:03 +0800 |
---|---|---|
committer | Lv Zheng <lv.zheng@intel.com> | 2016-12-21 16:12:03 +0800 |
commit | 528528feebc68eafcf2723d2e68d6ac9a1e93d53 (patch) | |
tree | 1830ee7efcc1e01a423a2e1413d3e54068d428a6 | |
parent | afe4a18acf8acf59862f3a96327d0232eb75f974 (diff) | |
download | acpica-528528feebc68eafcf2723d2e68d6ac9a1e93d53.tar.gz |
acpiexec: Move an acpiexec specific purposed new line to acpiexec specific file
The new line is only useful for acpiexec, so moving it to acpiexec to
eliminate the #ifdef.
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
--
-rw-r--r-- | source/components/tables/tbxfload.c | 5 | ||||
-rw-r--r-- | source/tools/acpiexec/aetables.c | 3 |
2 files changed, 3 insertions, 5 deletions
diff --git a/source/components/tables/tbxfload.c b/source/components/tables/tbxfload.c index f43a400cc..adeff91b8 100644 --- a/source/components/tables/tbxfload.c +++ b/source/components/tables/tbxfload.c @@ -348,11 +348,6 @@ AcpiTbLoadNamespace ( Status = AE_CTRL_TERMINATE; } -#ifdef ACPI_APPLICATION - ACPI_DEBUG_PRINT_RAW ((ACPI_DB_INIT, "\n")); -#endif - - UnlockAndExit: (void) AcpiUtReleaseMutex (ACPI_MTX_TABLES); return_ACPI_STATUS (Status); diff --git a/source/tools/acpiexec/aetables.c b/source/tools/acpiexec/aetables.c index c0a8e926f..4f4b071f0 100644 --- a/source/tools/acpiexec/aetables.c +++ b/source/tools/acpiexec/aetables.c @@ -623,8 +623,11 @@ AeLoadTables ( ACPI_STATUS Status; + ACPI_FUNCTION_NAME (AeLoadTables); + Status = AcpiLoadTables (); ACPI_CHECK_OK (AcpiLoadTables, Status); + ACPI_DEBUG_PRINT_RAW ((ACPI_DB_INIT, "\n")); /* * Test run-time control method installation. Do it twice to test code |