Commit 50df4d8b authored by Bob Moore's avatar Bob Moore Committed by Len Brown

ACPICA: Restructure includes into public/private

acpi.h now includes only the "public" acpica headers. All other
acpica headers are "private" and should not be included by acpica
users. One new file, accommon.h is used to include the commonly
used private headers for acpica code generation. Future plans
are to move all private headers to a new subdirectory.
Signed-off-by: default avatarBob Moore <robert.moore@intel.com>
Signed-off-by: default avatarLin Ming <ming.m.lin@intel.com>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent ea7e96e0
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/amlcode.h>
#include <acpi/acdispat.h>
#include <acpi/acinterp.h>
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acdispat.h>
#include <acpi/acnamesp.h>
#include <acpi/actables.h>
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/amlcode.h>
#include <acpi/acdispat.h>
#include <acpi/acinterp.h>
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acdispat.h>
#include <acpi/acnamesp.h>
#include <acpi/acinterp.h>
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acparser.h>
#include <acpi/amlcode.h>
#include <acpi/acdispat.h>
......
......@@ -43,6 +43,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acparser.h>
#include <acpi/amlcode.h>
#include <acpi/acdispat.h>
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acparser.h>
#include <acpi/amlcode.h>
#include <acpi/acdispat.h>
......
......@@ -43,6 +43,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acparser.h>
#include <acpi/amlcode.h>
#include <acpi/acdispat.h>
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acparser.h>
#include <acpi/amlcode.h>
#include <acpi/acdispat.h>
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acdispat.h>
#define _COMPONENT ACPI_DISPATCHER
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acparser.h>
#include <acpi/acdispat.h>
#include <acpi/acnamesp.h>
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acevents.h>
#define _COMPONENT ACPI_EVENTS
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acevents.h>
#include <acpi/acnamesp.h>
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acevents.h>
#include <acpi/acnamesp.h>
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acevents.h>
#include <acpi/acnamesp.h>
#include <acpi/acinterp.h>
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acevents.h>
#include <acpi/acnamesp.h>
#include <acpi/acinterp.h>
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acevents.h>
#include <acpi/acnamesp.h>
......
......@@ -43,6 +43,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acevents.h>
#define _COMPONENT ACPI_EVENTS
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acnamesp.h>
#include <acpi/acevents.h>
#include <acpi/acinterp.h>
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acevents.h>
#include <acpi/acnamesp.h>
#include <acpi/actables.h>
......
......@@ -43,6 +43,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acnamesp.h>
#include <acpi/acevents.h>
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acinterp.h>
#include <acpi/acnamesp.h>
#include <acpi/actables.h>
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acinterp.h>
#include <acpi/amlcode.h>
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acinterp.h>
#include <acpi/amlcode.h>
#include <acpi/acnamesp.h>
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acinterp.h>
#include <acpi/amlcode.h>
#include <acpi/acnamesp.h>
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acdispat.h>
#include <acpi/acinterp.h>
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acinterp.h>
#include <acpi/amlcode.h>
#include <acpi/acevents.h>
......
......@@ -43,6 +43,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acinterp.h>
#include <acpi/amlcode.h>
#include <acpi/amlresrc.h>
......
......@@ -43,6 +43,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acinterp.h>
#include <acpi/acevents.h>
......
......@@ -43,6 +43,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acinterp.h>
#include <acpi/amlcode.h>
......
......@@ -43,6 +43,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acparser.h>
#include <acpi/acdispat.h>
#include <acpi/acinterp.h>
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acparser.h>
#include <acpi/acinterp.h>
#include <acpi/acevents.h>
......
......@@ -43,6 +43,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acinterp.h>
#include <acpi/acparser.h>
#include <acpi/amlcode.h>
......
......@@ -43,6 +43,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acinterp.h>
#include <acpi/acparser.h>
#include <acpi/amlcode.h>
......
......@@ -43,6 +43,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acinterp.h>
#include <acpi/amlcode.h>
#include <acpi/acnamesp.h>
......
......@@ -43,6 +43,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acinterp.h>
#define _COMPONENT ACPI_EXECUTER
......
......@@ -43,6 +43,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acdispat.h>
#include <acpi/acinterp.h>
#include <acpi/acnamesp.h>
......
......@@ -43,6 +43,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/amlcode.h>
#include <acpi/acdispat.h>
#include <acpi/acinterp.h>
......
......@@ -43,6 +43,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/amlcode.h>
#include <acpi/acparser.h>
#include <acpi/acinterp.h>
......
......@@ -43,6 +43,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acdispat.h>
#include <acpi/acinterp.h>
#include <acpi/amlcode.h>
......
......@@ -44,6 +44,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acinterp.h>
#include <acpi/amlcode.h>
......
......@@ -43,6 +43,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acinterp.h>
#define _COMPONENT ACPI_EXECUTER
......
......@@ -43,6 +43,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acinterp.h>
#define _COMPONENT ACPI_EXECUTER
......
......@@ -59,6 +59,7 @@
#define DEFINE_AML_GLOBALS
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acinterp.h>
#include <acpi/amlcode.h>
......
......@@ -43,6 +43,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#define _COMPONENT ACPI_HARDWARE
ACPI_MODULE_NAME("hwacpi")
......
......@@ -43,6 +43,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acevents.h>
#define _COMPONENT ACPI_HARDWARE
......
......@@ -44,6 +44,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acnamesp.h>
#include <acpi/acevents.h>
......
......@@ -43,6 +43,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/actables.h>
#define _COMPONENT ACPI_HARDWARE
......
......@@ -43,6 +43,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#define _COMPONENT ACPI_HARDWARE
ACPI_MODULE_NAME("hwtimer")
......
......@@ -43,6 +43,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acnamesp.h>
#define _COMPONENT ACPI_HARDWARE
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/amlcode.h>
#include <acpi/acnamesp.h>
#include <acpi/acdispat.h>
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acnamesp.h>
#define _COMPONENT ACPI_NAMESPACE
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acnamesp.h>
#define _COMPONENT ACPI_NAMESPACE
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
/* TBD: This entire module is apparently obsolete and should be removed */
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acparser.h>
#include <acpi/acinterp.h>
#include <acpi/acnamesp.h>
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acnamesp.h>
#include <acpi/acdispat.h>
#include <acpi/acinterp.h>
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acnamesp.h>
#include <acpi/acdispat.h>
#include <acpi/actables.h>
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/amlcode.h>
#include <acpi/acnamesp.h>
......
......@@ -43,6 +43,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acnamesp.h>
#define _COMPONENT ACPI_NAMESPACE
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acnamesp.h>
#include <acpi/acparser.h>
#include <acpi/acdispat.h>
......
......@@ -43,6 +43,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acnamesp.h>
#include <acpi/acpredef.h>
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acnamesp.h>
#define _COMPONENT ACPI_NAMESPACE
......
......@@ -43,6 +43,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acnamesp.h>
#include <acpi/amlcode.h>
#include <acpi/actables.h>
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acnamesp.h>
#define _COMPONENT ACPI_NAMESPACE
......
......@@ -43,6 +43,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acnamesp.h>
#include <acpi/acinterp.h>
......
......@@ -43,6 +43,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acnamesp.h>
#define _COMPONENT ACPI_NAMESPACE
......
......@@ -43,6 +43,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acnamesp.h>
#define _COMPONENT ACPI_NAMESPACE
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acparser.h>
#include <acpi/amlcode.h>
#include <acpi/acnamesp.h>
......
......@@ -50,6 +50,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acparser.h>
#include <acpi/acdispat.h>
#include <acpi/amlcode.h>
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acparser.h>
#include <acpi/acopcode.h>
#include <acpi/amlcode.h>
......
......@@ -51,6 +51,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acparser.h>
#include <acpi/acdispat.h>
#include <acpi/amlcode.h>
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acparser.h>
#define _COMPONENT ACPI_PARSER
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acparser.h>
#include <acpi/amlcode.h>
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acparser.h>
#include <acpi/amlcode.h>
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acparser.h>
#define _COMPONENT ACPI_PARSER
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acparser.h>
#include <acpi/acdispat.h>
#include <acpi/acinterp.h>
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acresrc.h>
#define _COMPONENT ACPI_RESOURCES
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acresrc.h>
#include <acpi/acnamesp.h>
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acresrc.h>
#include <acpi/acnamesp.h>
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acresrc.h>
#define _COMPONENT ACPI_RESOURCES
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acresrc.h>
#define _COMPONENT ACPI_RESOURCES
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acresrc.h>
#define _COMPONENT ACPI_RESOURCES
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acresrc.h>
#define _COMPONENT ACPI_RESOURCES
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acresrc.h>
#define _COMPONENT ACPI_RESOURCES
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acresrc.h>
#define _COMPONENT ACPI_RESOURCES
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acresrc.h>
#define _COMPONENT ACPI_RESOURCES
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acnamesp.h>
#include <acpi/acresrc.h>
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acresrc.h>
#include <acpi/acnamesp.h>
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/actables.h>
#define _COMPONENT ACPI_TABLES
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/actables.h>
#define _COMPONENT ACPI_TABLES
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acnamesp.h>
#include <acpi/actables.h>
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/actables.h>
#define _COMPONENT ACPI_TABLES
......
......@@ -43,6 +43,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acnamesp.h>
#include <acpi/actables.h>
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/actables.h>
#define _COMPONENT ACPI_TABLES
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acdebug.h>
#define _COMPONENT ACPI_UTILITIES
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#define _COMPONENT ACPI_UTILITIES
ACPI_MODULE_NAME("utcache")
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acnamesp.h>
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#define _COMPONENT ACPI_UTILITIES
ACPI_MODULE_NAME("utdebug")
......@@ -136,7 +137,7 @@ static const char *acpi_ut_trim_function_name(const char *function_name)
/*******************************************************************************
*
* FUNCTION: acpi_ut_debug_print
* FUNCTION: acpi_debug_print
*
* PARAMETERS: requested_debug_level - Requested debug print level
* line_number - Caller's line number (for error output)
......@@ -154,7 +155,7 @@ static const char *acpi_ut_trim_function_name(const char *function_name)
******************************************************************************/
void ACPI_INTERNAL_VAR_XFACE
acpi_ut_debug_print(u32 requested_debug_level,
acpi_debug_print(u32 requested_debug_level,
u32 line_number,
const char *function_name,
const char *module_name,
......@@ -205,11 +206,11 @@ acpi_ut_debug_print(u32 requested_debug_level,
va_end(args);
}
ACPI_EXPORT_SYMBOL(acpi_ut_debug_print)
ACPI_EXPORT_SYMBOL(acpi_debug_print)
/*******************************************************************************
*
* FUNCTION: acpi_ut_debug_print_raw
* FUNCTION: acpi_debug_print_raw
*
* PARAMETERS: requested_debug_level - Requested debug print level
* line_number - Caller's line number
......@@ -226,7 +227,7 @@ ACPI_EXPORT_SYMBOL(acpi_ut_debug_print)
*
******************************************************************************/
void ACPI_INTERNAL_VAR_XFACE
acpi_ut_debug_print_raw(u32 requested_debug_level,
acpi_debug_print_raw(u32 requested_debug_level,
u32 line_number,
const char *function_name,
const char *module_name,
......@@ -244,7 +245,7 @@ acpi_ut_debug_print_raw(u32 requested_debug_level,
va_end(args);
}
ACPI_EXPORT_SYMBOL(acpi_ut_debug_print_raw)
ACPI_EXPORT_SYMBOL(acpi_debug_print_raw)
/*******************************************************************************
*
......@@ -270,9 +271,9 @@ acpi_ut_trace(u32 line_number,
acpi_gbl_nesting_level++;
acpi_ut_track_stack_ptr();
acpi_ut_debug_print(ACPI_LV_FUNCTIONS,
line_number, function_name, module_name,
component_id, "%s\n", acpi_gbl_fn_entry_str);
acpi_debug_print(ACPI_LV_FUNCTIONS,
line_number, function_name, module_name, component_id,
"%s\n", acpi_gbl_fn_entry_str);
}
ACPI_EXPORT_SYMBOL(acpi_ut_trace)
......@@ -301,10 +302,9 @@ acpi_ut_trace_ptr(u32 line_number,
acpi_gbl_nesting_level++;
acpi_ut_track_stack_ptr();
acpi_ut_debug_print(ACPI_LV_FUNCTIONS,
line_number, function_name, module_name,
component_id, "%s %p\n", acpi_gbl_fn_entry_str,
pointer);
acpi_debug_print(ACPI_LV_FUNCTIONS,
line_number, function_name, module_name, component_id,
"%s %p\n", acpi_gbl_fn_entry_str, pointer);
}
/*******************************************************************************
......@@ -333,10 +333,9 @@ acpi_ut_trace_str(u32 line_number,
acpi_gbl_nesting_level++;
acpi_ut_track_stack_ptr();
acpi_ut_debug_print(ACPI_LV_FUNCTIONS,
line_number, function_name, module_name,
component_id, "%s %s\n", acpi_gbl_fn_entry_str,
string);
acpi_debug_print(ACPI_LV_FUNCTIONS,
line_number, function_name, module_name, component_id,
"%s %s\n", acpi_gbl_fn_entry_str, string);
}
/*******************************************************************************
......@@ -365,10 +364,9 @@ acpi_ut_trace_u32(u32 line_number,
acpi_gbl_nesting_level++;
acpi_ut_track_stack_ptr();
acpi_ut_debug_print(ACPI_LV_FUNCTIONS,
line_number, function_name, module_name,
component_id, "%s %08X\n", acpi_gbl_fn_entry_str,
integer);
acpi_debug_print(ACPI_LV_FUNCTIONS,
line_number, function_name, module_name, component_id,
"%s %08X\n", acpi_gbl_fn_entry_str, integer);
}
/*******************************************************************************
......@@ -393,9 +391,9 @@ acpi_ut_exit(u32 line_number,
const char *module_name, u32 component_id)
{
acpi_ut_debug_print(ACPI_LV_FUNCTIONS,
line_number, function_name, module_name,
component_id, "%s\n", acpi_gbl_fn_exit_str);
acpi_debug_print(ACPI_LV_FUNCTIONS,
line_number, function_name, module_name, component_id,
"%s\n", acpi_gbl_fn_exit_str);
acpi_gbl_nesting_level--;
}
......@@ -426,13 +424,12 @@ acpi_ut_status_exit(u32 line_number,
{
if (ACPI_SUCCESS(status)) {
acpi_ut_debug_print(ACPI_LV_FUNCTIONS,
acpi_debug_print(ACPI_LV_FUNCTIONS,
line_number, function_name, module_name,
component_id, "%s %s\n",
acpi_gbl_fn_exit_str,
component_id, "%s %s\n", acpi_gbl_fn_exit_str,
acpi_format_exception(status));
} else {
acpi_ut_debug_print(ACPI_LV_FUNCTIONS,
acpi_debug_print(ACPI_LV_FUNCTIONS,
line_number, function_name, module_name,
component_id, "%s ****Exception****: %s\n",
acpi_gbl_fn_exit_str,
......@@ -467,10 +464,10 @@ acpi_ut_value_exit(u32 line_number,
u32 component_id, acpi_integer value)
{
acpi_ut_debug_print(ACPI_LV_FUNCTIONS,
line_number, function_name, module_name,
component_id, "%s %8.8X%8.8X\n",
acpi_gbl_fn_exit_str, ACPI_FORMAT_UINT64(value));
acpi_debug_print(ACPI_LV_FUNCTIONS,
line_number, function_name, module_name, component_id,
"%s %8.8X%8.8X\n", acpi_gbl_fn_exit_str,
ACPI_FORMAT_UINT64(value));
acpi_gbl_nesting_level--;
}
......@@ -499,9 +496,9 @@ acpi_ut_ptr_exit(u32 line_number,
const char *module_name, u32 component_id, u8 *ptr)
{
acpi_ut_debug_print(ACPI_LV_FUNCTIONS,
line_number, function_name, module_name,
component_id, "%s %p\n", acpi_gbl_fn_exit_str, ptr);
acpi_debug_print(ACPI_LV_FUNCTIONS,
line_number, function_name, module_name, component_id,
"%s %p\n", acpi_gbl_fn_exit_str, ptr);
acpi_gbl_nesting_level--;
}
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acinterp.h>
#include <acpi/acnamesp.h>
#include <acpi/acevents.h>
......
......@@ -42,6 +42,7 @@
*/
#include <acpi/acpi.h>
#include <acpi/accommon.h>
#include <acpi/acnamesp.h>
#include <acpi/acinterp.h>
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment